Skip to content

Commit

Permalink
Merge pull request #54 from Dium-dev/fix-bugs
Browse files Browse the repository at this point in the history
Delete NavBar component in Admin dashboard
  • Loading branch information
JohanMejia77 authored May 17, 2024
2 parents 45ed25e + 12ab3b9 commit a542c52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -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'] })
Expand All @@ -18,7 +17,6 @@ export default function RootLayout({
style={{ maxWidth: '1920px', margin: '0 auto' }}
>
<ThemeProvider attribute="class">
<NavBar />
{children}
</ThemeProvider>
</body>
Expand Down
2 changes: 2 additions & 0 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<main>
<NavBar />
<Banner />
<Categories />
<AboutUsBanner />
Expand Down

0 comments on commit a542c52

Please sign in to comment.