fix: workaround for using currentUser in server actions
This commit is contained in:
parent
c0011ed15f
commit
8156e62256
5 changed files with 11 additions and 34 deletions
|
|
@ -21,6 +21,7 @@ export interface SidebarProps {
|
|||
|
||||
export function Sidebar({ userId, children }: SidebarProps) {
|
||||
const { signOut } = useClerk()
|
||||
|
||||
return (
|
||||
<Sheet>
|
||||
<SheetTrigger asChild>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue