Skip to content

Commit

Permalink
fix: update default values of new sections
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderleegs committed Sep 6, 2023
1 parent e7b376a commit a4a8cd7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/layouts/EditNavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,28 +87,28 @@ const EditNavBar = ({ match }) => {
const errorToast = useErrorToast()

const LinkCollectionSectionConstructor = () => ({
title: "Menu Title",
title: "New folder",
collection: collections[0],
})

const LinkResourceSectionConstructor = () => ({
title: "Menu Title",
title: "New resource room",
resource_room: true,
})

const LinkPageSectionConstructor = () => ({
title: "Menu Title",
title: "New single page",
url: "/permalink",
})

const LinkSublinkSectionConstructor = () => ({
title: "Menu Title",
title: "New menu group",
url: "/permalink",
sublinks: [],
})

const SublinkSectionConstructor = () => ({
title: "Submenu Title",
title: "New submenu",
url: "/permalink",
})

Expand Down

0 comments on commit a4a8cd7

Please sign in to comment.