diff --git a/studio/schemas/documents/companyLocations.ts b/studio/schemas/documents/companyLocations.ts index 3b11ac541..cfc5f1ce2 100644 --- a/studio/schemas/documents/companyLocations.ts +++ b/studio/schemas/documents/companyLocations.ts @@ -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",