Skip to content

Commit

Permalink
Update layout.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ArhanAnsari authored Oct 10, 2024
1 parent 45d96c8 commit 2616e43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/dashboard/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// app/dashboard/layout.tsx
import React from "react";
import Header from "@/components/Header";
//import Header from "@/components/Header";
import Layout from "@/components/Layout"; // Import your Layout
import SEO from "@/components/SEO";
import { ToastContainer } from "react-toastify"; // Import ToastContainer for notifications
Expand All @@ -20,7 +20,7 @@ const DashboardLayout: React.FC<{ children: React.ReactNode }> = ({ children })
<body className="bg-gray-100 text-gray-900 antialiased">
<Layout>
{/* Render the Header and Main Content */}
<Header />
{/*<Header />*/}
<main className="min-h-screen flex-1 overflow-y-auto p-8">
{children}
</main>
Expand Down

0 comments on commit 2616e43

Please sign in to comment.