Skip to content

Rendering the nav items dynamically if a route is enabled#180

Open
8sami wants to merge 1 commit into
once-ui-system:mainfrom
8sami:checkpoint
Open

Rendering the nav items dynamically if a route is enabled#180
8sami wants to merge 1 commit into
once-ui-system:mainfrom
8sami:checkpoint

Conversation

@8sami

@8sami 8sami commented Apr 4, 2026

Copy link
Copy Markdown
Contributor

before we had to manually write the code to render a nav item if a new route was added (which was annoying)

so i added an array of objects that render the nav items dynamically for all the routes that are enabled.

now you just have to add a new object to the array instead of copy pasting the ToggleButton block :D

@vercel

vercel Bot commented Apr 4, 2026

Copy link
Copy Markdown

@8sami is attempting to deploy a commit to the Dopler Team on Vercel.

A member of the Team first needs to authorize it.

@8sami 8sami changed the title Rendering the nav items dynamically if the route is enabled Rendering the nav items dynamically if a route is enabled Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant