There was an error while loading. Please reload this page.
1 parent d20da10 commit 70cdc44Copy full SHA for 70cdc44
1 file changed
app/layout.tsx
@@ -1,7 +1,6 @@
1
import { Toaster } from "@/components/ui/sonner"
2
import { Instrument_Sans } from 'next/font/google';
3
import { ThemeProvider } from "next-themes"
4
-import { usePathname } from 'next/navigation';
5
import "./globals.css"
6
7
import { Footer } from '@/components/footer';
@@ -13,8 +12,6 @@ const instrumentSans = Instrument_Sans({
13
12
});
14
15
export default function RootLayout({children}: Readonly<{children: React.ReactNode}>) {
16
- const path = usePathname().split('/')[1] || ''; // Default to home if no path is present
17
-
18
return (
19
<html lang="en" suppressHydrationWarning className={instrumentSans.className}>
20
<body>
0 commit comments