Replies: 1 comment
-
Exactly same problem and exactly same solution. |
Beta Was this translation helpful? Give feedback.
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.
-
Description
I am exporting NavigationBar from a component library in mono repo and using it. It results in a webpack error:
If I make it a Client component with
"use client";
directive on top of the NavigationBar file then error goes away.I am confused why is that and if it's known, shad-cn/ui should provide the code with the the directive already.
Setup
Beta Was this translation helpful? Give feedback.
All reactions