Skip to content

Commit

Permalink
Merge branch 'malj/2607' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
millianapia committed Nov 1, 2024
2 parents fe5850c + b7f9e09 commit 0388b39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sanityv3/sanity.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import type {
DocumentBadgeComponent,
DocumentFieldAction,
} from 'sanity'
import { deskTool, StructureBuilder } from 'sanity/desk'
import { structureTool } from 'sanity/structure'
import deskStructure, { defaultDocumentNodeResolver } from './deskStructure'
import { schemaTypes } from './schemas'
import { initialValueTemplates } from './initialValueTemplates'
Expand Down Expand Up @@ -89,8 +89,8 @@ const getConfig = (datasetParam: string, projectIdParam: string, isSecret = fals
},
plugins: [
documentInternationalization(i18n),
deskTool({
structure: (S: StructureBuilder, context: ConfigContext) => {
structureTool({
structure: (S, context: ConfigContext) => {
return deskStructure(S, context)
},
defaultDocumentNode: defaultDocumentNodeResolver,
Expand Down

0 comments on commit 0388b39

Please sign in to comment.