Spaces:
Sleeping
Sleeping
axeronis commited on
Commit ·
53b6c31
1
Parent(s): 48e3948
fix(build): restore Providers wrapper in root layout
Browse files- frontend/app/layout.tsx +4 -1
frontend/app/layout.tsx
CHANGED
|
@@ -2,6 +2,7 @@ import type { Metadata, Viewport } from 'next'
|
|
| 2 |
import { Inter } from 'next/font/google'
|
| 3 |
import './globals.css'
|
| 4 |
import { LayoutClient } from '@/components/layout/LayoutClient'
|
|
|
|
| 5 |
|
| 6 |
const inter = Inter({ subsets: ['latin', 'cyrillic'] })
|
| 7 |
|
|
@@ -27,7 +28,9 @@ export default function RootLayout({
|
|
| 27 |
return (
|
| 28 |
<html lang="ru">
|
| 29 |
<body className={inter.className}>
|
| 30 |
-
<
|
|
|
|
|
|
|
| 31 |
</body>
|
| 32 |
</html>
|
| 33 |
)
|
|
|
|
| 2 |
import { Inter } from 'next/font/google'
|
| 3 |
import './globals.css'
|
| 4 |
import { LayoutClient } from '@/components/layout/LayoutClient'
|
| 5 |
+
import { Providers } from './providers'
|
| 6 |
|
| 7 |
const inter = Inter({ subsets: ['latin', 'cyrillic'] })
|
| 8 |
|
|
|
|
| 28 |
return (
|
| 29 |
<html lang="ru">
|
| 30 |
<body className={inter.className}>
|
| 31 |
+
<Providers>
|
| 32 |
+
<LayoutClient>{children}</LayoutClient>
|
| 33 |
+
</Providers>
|
| 34 |
</body>
|
| 35 |
</html>
|
| 36 |
)
|