forked from BasedHardware/omi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.tsx
More file actions
33 lines (30 loc) · 972 Bytes
/
Copy pathlayout.tsx
File metadata and controls
33 lines (30 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import './globals.css';
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import { ThemeProvider } from '@/components/theme-provider';
import { AuthProvider } from '@/components/auth-provider';
import { SWRProvider } from '@/components/swr-provider';
import { PublicBuildCanary } from '@/components/public-build-canary';
const inter = Inter({ subsets: ['latin'] });
export const metadata: Metadata = {
title: 'Omi Admin Dashboard',
description: 'Omi\'s internal admin dashboard',
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en" suppressHydrationWarning>
<body className={inter.className}>
<PublicBuildCanary />
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<AuthProvider>
<SWRProvider>{children}</SWRProvider>
</AuthProvider>
</ThemeProvider>
</body>
</html>
);
}