From 02d605dd5906008274e1367532450d79bf44af88 Mon Sep 17 00:00:00 2001 From: NotII <46204250+NotII@users.noreply.github.com> Date: Sat, 8 Mar 2025 05:37:36 +0000 Subject: [PATCH] fix booboo --- app/dashboard/chats/layout.tsx | 10 ++++++++++ app/dashboard/chats/page.tsx | 6 ------ 2 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 app/dashboard/chats/layout.tsx diff --git a/app/dashboard/chats/layout.tsx b/app/dashboard/chats/layout.tsx new file mode 100644 index 0000000..608d259 --- /dev/null +++ b/app/dashboard/chats/layout.tsx @@ -0,0 +1,10 @@ +import { Metadata } from "next"; + +export const metadata: Metadata = { + title: "Customer Chats | Ember Market", + description: "Manage your customer conversations", +}; + +export default function ChatsLayout({ children }: { children: React.ReactNode }) { + return <>{children}; +} \ No newline at end of file diff --git a/app/dashboard/chats/page.tsx b/app/dashboard/chats/page.tsx index 4a99598..ed72af9 100644 --- a/app/dashboard/chats/page.tsx +++ b/app/dashboard/chats/page.tsx @@ -5,12 +5,6 @@ import { useRouter } from "next/navigation"; import ChatTable from "@/components/dashboard/ChatTable"; import Dashboard from "@/components/dashboard/dashboard"; import { MessageCircle } from "lucide-react"; -import { Metadata } from "next"; - -export const metadata: Metadata = { - title: "Customer Chats | Ember Market", - description: "Manage your customer conversations", -}; export default function ChatsPage() { const router = useRouter();