feat : comment feature
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { Suspense } from "react";
|
||||
|
||||
import { AdminUnreadCommentsProvider } from "@/components/comments/admin-unread-comments";
|
||||
import { TooltipProvider } from "@/components/ui/tooltip";
|
||||
|
||||
export default function AdminLayout({ children }: LayoutProps<"/admin">) {
|
||||
@@ -12,7 +13,7 @@ export default function AdminLayout({ children }: LayoutProps<"/admin">) {
|
||||
</main>
|
||||
}
|
||||
>
|
||||
{children}
|
||||
<AdminUnreadCommentsProvider>{children}</AdminUnreadCommentsProvider>
|
||||
</Suspense>
|
||||
</TooltipProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user