Skip to content

Adding shadcn/ui sidebar causes react error (bug or miss-config?) #1035

Closed Answered by rmarscher
bostjanpisler asked this question in Q&A
Discussion options

You must be logged in to vote

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:

"use client";

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rmarscher
Comment options

@bostjanpisler
Comment options

Answer selected by bostjanpisler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants