Skip to content

Commit

Permalink
Merge pull request #98 from ArhanAnsari/ArhanAnsari-patch-1
Browse files Browse the repository at this point in the history
Update layout.tsx
  • Loading branch information
ArhanAnsari authored Oct 10, 2024
2 parents 45d96c8 + 331c73f commit cf50a46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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
4 changes: 2 additions & 2 deletions app/dashboard/upgrade/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// app/dashboard/upgrade/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 DashboardUpgradeLayout: React.FC<{ children: React.ReactNode }> = ({ child
<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 cf50a46

Please sign in to comment.