sanity-io / orderable-document-list

Drag-and-drop Document Ordering without leaving the Editing surface
MIT License
75 stars 22 forks source link

deskTool is deprecated #84

Closed darronz closed 1 month ago

darronz commented 8 months ago

Is your feature request related to a problem? Please describe. After v3.20.0 Desk is now Structure

Describe the solution you'd like The readme in this project describes installation as

import { deskTool, StructureBuilder } from 'sanity/structure'

export default defineConfig({
  //...
  plugins: [
    deskTool({
      structure: (S, context) => {

Describe alternatives you've considered This should be updated to

import { structureTool } from 'sanity/structure'

export default defineConfig({
  //...
  plugins: [
    structureTool({
      structure: (S, context) => {
SimeonGriggs commented 1 month ago

Fixed in #99