-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathlayout.tsx
More file actions
28 lines (27 loc) · 983 Bytes
/
layout.tsx
File metadata and controls
28 lines (27 loc) · 983 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
import { ReactQueryClientProvider } from '@/components/shared/react-query-client-provider';
import { OnestFont } from './styles/fonts/font';
import { UbuntuFont } from './styles/fonts/font';
import { SatoshiFont } from './styles/fonts/font';
import { InterFont } from './styles/fonts/font';
import { ThemeProvider } from '@/components/theme-provider';
import './globals.css';
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<ReactQueryClientProvider>
<html lang="en" suppressHydrationWarning>
<body
className={`${InterFont.variable} ${SatoshiFont.variable} ${UbuntuFont.variable} ${OnestFont.variable} antialiased`}
>
<ThemeProvider
attribute="class"
defaultTheme="system"
enableSystem
disableTransitionOnChange
>
{children}
</ThemeProvider>
</body>
</html>
</ReactQueryClientProvider>
);
}