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.
You could try if #4624 fixes your issue (pnpm upgrade @toolpad/core@https://pkg.csb.dev/mui/toolpad/commit/780c868d/@toolpad/core). Otherwise you'll have to provide us with a stackblitz/codesandbox that reproduces the issue.
Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information.
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: