desk tool crashed when creating new item #3408
Unanswered
JanneHelewaut
asked this question in
Sanity Studio Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I created a sanity structure in V3. I was able to create new documents, delete and so on.
Today I changed my code to use the StructureBuilder, and on first sight, everything looks good. I can see all the documents and I can edit and publish them.
When I want to create a new item, I get the following error:

When I try to duplicate, I get another error in the beginning, but if I refresh the page, the duplication was done correctly.

Update 13/07/2022:
I created a new V3 project to see if the issue was in my project. I started with the movie dataset and schema.
Unfortunately, the issue still stands in the new test project.
I added my implementation below so you can see what I did.
I created a structure file called 'deskStructure' with the following implementation:
And I used the structure in sanity.config.ts like this:
Beta Was this translation helpful? Give feedback.
All reactions