Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

deskTool is deprecated #84

Closed
darronz opened this issue Feb 29, 2024 · 1 comment
Closed

deskTool is deprecated #84

darronz opened this issue Feb 29, 2024 · 1 comment

Comments

@darronz
Copy link

darronz commented Feb 29, 2024

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
Copy link
Collaborator

Fixed in #99

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants