From 12ab3b94e987120ca61d8cdc23988a4f9107f507 Mon Sep 17 00:00:00 2001 From: Telkens Date: Thu, 16 May 2024 18:08:43 -0500 Subject: [PATCH] Delete NavBar component in Admin dashboard --- src/app/layout.tsx | 2 -- src/app/page.tsx | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index e7b5101..3f3ac22 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,7 +1,6 @@ 'use client' import { Inter } from 'next/font/google' import './globals.css' -import { NavBar } from './(nav-bar)' import { ThemeProvider } from 'next-themes' const inter = Inter({ subsets: ['latin'] }) @@ -18,7 +17,6 @@ export default function RootLayout({ style={{ maxWidth: '1920px', margin: '0 auto' }} > - {children} diff --git a/src/app/page.tsx b/src/app/page.tsx index 7ec3b62..9749819 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -16,10 +16,12 @@ import { PaymentMethods } from '@/components/PaymentMethods' import { ReviewsSkeleton } from "@/components/Reviews/ReviewsSkeleton"; import { WhatsAppButton } from '@/components/WhatsAppButton' import { Suspense } from "react"; +import { NavBar } from './(nav-bar)' export default function Home() { return (
+