Skip to content

Commit

Permalink
refactor(companyLocation): define company location as type, not field (
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiazom authored Sep 5, 2024
1 parent 29f56da commit 34a43f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions studio/schemas/documents/companyLocations.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { defineField } from "sanity";
import { defineField, defineType } from "sanity";

export const companyLocationsID = "companyLocations";
export const companyLocationID = "companyLocation";

const companyLocations = defineField({
const companyLocations = defineType({
name: companyLocationsID,
type: "document",
title: "Location",
Expand Down

0 comments on commit 34a43f8

Please sign in to comment.