notif fix >.<

This commit is contained in:
NotII
2025-03-08 06:35:41 +00:00
parent c56e30f186
commit c7a2755aaf
3 changed files with 742 additions and 3 deletions

View File

@@ -3,8 +3,8 @@
import { useState, useEffect } from "react"
import { useTheme } from "next-themes"
import Sidebar from "./sidebar"
import ChatNotifications from "@/components/dashboard/ChatNotifications"
import type React from "react" // Added import for React
import UnifiedNotifications from "@/components/notifications/UnifiedNotifications"
import type React from "react"
interface LayoutProps {
children: React.ReactNode
@@ -24,7 +24,7 @@ export default function Layout({ children }: LayoutProps) {
<div className="w-full flex flex-1 flex-col">
<header className="h-16 border-b border-border flex items-center justify-end px-6">
<div className="flex items-center space-x-2">
<ChatNotifications />
<UnifiedNotifications />
</div>
</header>
<main className="flex-1 overflow-auto p-6 dark:bg-[#0F0F12]">{children}</main>