Metaphor Story - A Central Sidebar Menu Configuration | Metaphore (SCP) #86
Replies: 2 comments
|
Hi darkterminal. Thanks for this tutorial. But i got a TS-Error and the menuitems don't show up. i used your code as it comes. the sidebar.tsx is imported in my layout.tsx. TS: gives me this error. "the property "menus" is missing in Type "{}", but is neccessary in Typ "SidebarProps" .ts(2741) sidebar.ts(17, 3): "menus" wird hier deklariert.". Whats wrong with that? the 'menus' in Sidebar.tsx (for map) is empty. When will the sideMenu.tsx (the links) ever read/imported in your code? I'll highly appriciate you help. Thanks, Thomas. |
0 replies
|
Thanks for comment, Thomas! Here is you can see the updated version A Central Sidebar Menu Configuration. hope this help! 😄 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Metaphor Story - A Central Sidebar Menu Configuration | Metaphore (SCP)
darkterminal telling a story about A Central Sidebar Menu Configuration
https://metaphore.vercel.app/stories/javascript/a-central-sidebar-menu-configuration
All reactions