fix: random movie index preservation

This commit is contained in:
ner committed 2024-09-01 14:57:24 +03:00
1 parent 9dc731299f
commit 9e4e1d62fd
7 files changed
+78 -74

No files matched your search

+1 -2
View File
@@ -6,7 +6,6 @@ import { cookies } from 'next/headers';
const poppins = Poppins({ subsets: ['latin'], weight: '400' });
import Header from '@/components/Header';
import { cn } from '@/lib/utils';
import Providers from '@/providers';
import '@/styles/index.css';
@@ -38,7 +37,7 @@ export default function RootLayout({ children }: { children: ReactNode }) {
<div className='sticky top-0 z-20'>
<Header />
</div>
<main className='px-2 max-w-[1240px] mx-auto'>{children}</main>
<main className='px-2 mx-auto max-w-[1240px]'>{children}</main>
</Providers>
</body>
</html>