Wire notification bell in layout
cgen-b9b20cbf1fce42e8a6e22e4c6376eb97
This commit is contained in:
parent
ca267f4cff
commit
1dc3a5caec
1 changed files with 2 additions and 4 deletions
|
|
@ -3,6 +3,7 @@ import { Button } from "@/components/ui/button";
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
import SupabaseStatus from "./SupabaseStatus";
|
import SupabaseStatus from "./SupabaseStatus";
|
||||||
import { useAuth } from "@/contexts/AuthContext";
|
import { useAuth } from "@/contexts/AuthContext";
|
||||||
|
import NotificationBell from "@/components/notifications/NotificationBell";
|
||||||
import {
|
import {
|
||||||
DropdownMenu,
|
DropdownMenu,
|
||||||
DropdownMenuContent,
|
DropdownMenuContent,
|
||||||
|
|
@ -24,7 +25,6 @@ import {
|
||||||
User,
|
User,
|
||||||
Settings,
|
Settings,
|
||||||
LogOut,
|
LogOut,
|
||||||
Bell,
|
|
||||||
Sparkles,
|
Sparkles,
|
||||||
UserCircle,
|
UserCircle,
|
||||||
Menu,
|
Menu,
|
||||||
|
|
@ -252,9 +252,7 @@ export default function CodeLayout({ children }: LayoutProps) {
|
||||||
<Link to="/onboarding">Complete Setup</Link>
|
<Link to="/onboarding">Complete Setup</Link>
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
<Button variant="ghost" size="sm" className="hover-lift">
|
<NotificationBell />
|
||||||
<Bell className="h-4 w-4" />
|
|
||||||
</Button>
|
|
||||||
{!profile && (
|
{!profile && (
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue