Skip to content

Commit

Permalink
uninstall sanity-plugin-documents-pane
Browse files Browse the repository at this point in the history
  • Loading branch information
christinaroise committed Aug 30, 2024
1 parent 7de0c12 commit 637dd41
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 89 deletions.
76 changes: 0 additions & 76 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"react-dom": "^18",
"react-focus-on": "^3.9.3",
"sanity": "^3.50.0",
"sanity-plugin-documents-pane": "^2.3.0",
"styled-components": "^6.1.8"
},
"devDependencies": {
Expand Down
12 changes: 0 additions & 12 deletions studioShared/deskStructure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,3 @@ export const deskStructure: StructureResolver = (S) =>
),
// Other items can be added here if needed
]);

export const defaultDocumentNode: DefaultDocumentNodeResolver = (
S,
{ schemaType }
) => {
switch (schemaType) {
case blogPostsID:
return S.document().views([S.view.form()]);
default:
return S.document();
}
};

0 comments on commit 637dd41

Please sign in to comment.