fix: workaround for using currentUser in server actions

This commit is contained in:
shadcn 2023-06-14 16:39:55 +04:00
parent c0011ed15f
commit 8156e62256
5 changed files with 11 additions and 34 deletions

View file

@ -21,6 +21,7 @@ export interface SidebarProps {
export function Sidebar({ userId, children }: SidebarProps) {
const { signOut } = useClerk()
return (
<Sheet>
<SheetTrigger asChild>