From b3d67b3446b617817a5ff397586722f084b74069 Mon Sep 17 00:00:00 2001 From: Ane Date: Tue, 27 Aug 2024 08:49:24 +0200 Subject: [PATCH 1/3] commented out code for "Posts" in deskStructure.ts --- studio/schemas/deskStructure.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/studio/schemas/deskStructure.ts b/studio/schemas/deskStructure.ts index c717cb9a3..3194326e4 100644 --- a/studio/schemas/deskStructure.ts +++ b/studio/schemas/deskStructure.ts @@ -67,10 +67,10 @@ export default (S: StructureBuilder) => .documentId(blogId) .title("Blog Overview & Settings"), ), - S.listItem() - .title("Posts") - .icon(ComposeIcon) - .child(S.documentTypeList(postId).title("Posts")), + // S.listItem() + // .title("Posts") + // .icon(ComposeIcon) + // .child(S.documentTypeList(postId).title("Posts")), ]), ), S.listItem() From 274f6db28a6f50d437a7454e3d1de6b60a535b19 Mon Sep 17 00:00:00 2001 From: Ane Date: Tue, 27 Aug 2024 09:49:06 +0200 Subject: [PATCH 2/3] remove "Posts" in deskStructure.ts --- studio/schemas/deskStructure.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/studio/schemas/deskStructure.ts b/studio/schemas/deskStructure.ts index 3194326e4..228f3fd1e 100644 --- a/studio/schemas/deskStructure.ts +++ b/studio/schemas/deskStructure.ts @@ -67,10 +67,6 @@ export default (S: StructureBuilder) => .documentId(blogId) .title("Blog Overview & Settings"), ), - // S.listItem() - // .title("Posts") - // .icon(ComposeIcon) - // .child(S.documentTypeList(postId).title("Posts")), ]), ), S.listItem() From 01d48736b6d41d32a351f8a064e92e89a8a56c99 Mon Sep 17 00:00:00 2001 From: Ane Date: Tue, 27 Aug 2024 10:08:26 +0200 Subject: [PATCH 3/3] Remove unused ComposeIcon --- studio/schemas/deskStructure.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/studio/schemas/deskStructure.ts b/studio/schemas/deskStructure.ts index 228f3fd1e..5960f0092 100644 --- a/studio/schemas/deskStructure.ts +++ b/studio/schemas/deskStructure.ts @@ -8,7 +8,6 @@ import { ControlsIcon, ProjectsIcon, StackCompactIcon, - ComposeIcon, HeartIcon, } from "@sanity/icons"; import { soMeLinksID } from "./documents/socialMediaProfiles";