fix: hydration error in upgrade card component
This commit is contained in:
parent
731dd41de1
commit
a1e9621195
@ -65,7 +65,7 @@ export function DashboardSidebar({ ...props }: React.ComponentProps<typeof Sideb
|
||||
{!isPending && (
|
||||
<>
|
||||
{/* show upgrade card if user is not a member */}
|
||||
<UpgradeCard />
|
||||
{currentUser && <UpgradeCard />}
|
||||
|
||||
{/* show user profile if user is logged in */}
|
||||
{currentUser && <SidebarUser user={currentUser} />}
|
||||
|
@ -1,3 +1,5 @@
|
||||
'use client';
|
||||
|
||||
import { Button } from "@/components/ui/button";
|
||||
import {
|
||||
Card,
|
||||
|
Loading…
Reference in New Issue
Block a user