You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should work and display a dashboard layout with 2 navigation items.
Context
I'm trying to build a dashboard with a dynamic navigation bar. That is, my fetchNavLinksData fetches data from a database to generate the Navigation object, which I want to use with DashboardLayout.
Note
I'm primarily a backend engineer. This is for a hobby project I just started. Frontend, TypeScript, Next.js, and Toolpad are all very new to me. My terminology might be off, and it's possible I'm not doing things the right way.
Steps to reproduce
Current behavior
Expected behavior
Should work and display a dashboard layout with 2 navigation items.
Context
I'm trying to build a dashboard with a dynamic navigation bar. That is, my
fetchNavLinksData
fetches data from a database to generate theNavigation
object, which I want to use withDashboardLayout
.Note
I'm primarily a backend engineer. This is for a hobby project I just started. Frontend, TypeScript, Next.js, and Toolpad are all very new to me. My terminology might be off, and it's possible I'm not doing things the right way.
Your environment
npx @mui/envinfo
Search keywords: server client createContext navigation DashboardLayout
The text was updated successfully, but these errors were encountered: