Skip to content

Commit 70cdc44

Browse files
committed
Make it build correctly
1 parent d20da10 commit 70cdc44

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

app/layout.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { Toaster } from "@/components/ui/sonner"
22
import { Instrument_Sans } from 'next/font/google';
33
import { ThemeProvider } from "next-themes"
4-
import { usePathname } from 'next/navigation';
54
import "./globals.css"
65

76
import { Footer } from '@/components/footer';
@@ -13,8 +12,6 @@ const instrumentSans = Instrument_Sans({
1312
});
1413

1514
export default function RootLayout({children}: Readonly<{children: React.ReactNode}>) {
16-
const path = usePathname().split('/')[1] || ''; // Default to home if no path is present
17-
1815
return (
1916
<html lang="en" suppressHydrationWarning className={instrumentSans.className}>
2017
<body>

0 commit comments

Comments
 (0)