Skip to content

Commit

Permalink
simply the desk structure
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkevingreen committed Aug 5, 2023
1 parent db425e7 commit 639f63d
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions cms/desk/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,13 @@ export const structure = (S, context) => {
.schemaType('page')
.icon(DocumentIcon)
.child(
S.documentTypeList('page')
.title('Pages')
.child(documentId =>
S.document()
.documentId(documentId)
.schemaType('page')
),
);
S.documentTypeList('page').title('Pages'))

const homePageMenuItem = S.listItem()
.title('Home Pages')
.schemaType('home')
.child(
S.documentTypeList('home')
.title('Home Pages')
.child(documentId =>
S.document()
.documentId(documentId)
.schemaType('information')
),
);
S.documentTypeList('home').title('Home'))

const allPageMenuItem = S.listItem()
.title('Pages')
Expand Down

1 comment on commit 639f63d

@vercel
Copy link

@vercel vercel bot commented on 639f63d Aug 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.