Adding shadcn/ui sidebar causes react error (bug or miss-config?) #1035
-
Added the shadcn/ui sidebar component breaks the app with the below error. Error: Shadcn/ui sidebar: https://ui.shadcn.com/docs/components/sidebar |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I have the sidebar working in my waku app. Did you enable shadcn's react 19 feature that adds
|
Beta Was this translation helpful? Give feedback.
I have the sidebar working in my waku app. Did you enable shadcn's react 19 feature that adds
"use client"
to the top of the components it installs? You should have this at the top of your sidebar.tsx file: