Skip to content

Commit

Permalink
inshallah
Browse files Browse the repository at this point in the history
  • Loading branch information
fahimmehraj committed Feb 6, 2024
1 parent 6ec1b45 commit eec43c3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { Metadata } from "next";
import React from "react";
import { Lexend_Deca } from "next/font/google";
import "./globals.css";
import { Session } from "next-auth";
import { Providers } from "./components/Providers";

const font = Lexend_Deca({ subsets: ["latin"] });
Expand All @@ -11,13 +10,13 @@ export const metadata: Metadata = {
description: "Bronx Science's 10th Annual Hackathon",
};

export default function RootLayout({ children, session }: { children: React.ReactNode; session?: Session }) {
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
{/* Puting the Navbar here allows it to be replicated across all pages, including
the main page and the gallery page. Think of this as a template for all pages.*/}
<body className={font.className}>
<Providers session={session}>{children}</Providers>
<Providers>{children}</Providers>
</body>
</html>
);
Expand Down

0 comments on commit eec43c3

Please sign in to comment.