The code returns the following error:
Uncaught TypeError: mt is not iterable
at va (https://vm-r5nahbvl278fgv3r16o1zz.vusercontent.net/v0-runtime-dist.js:1874:16103)
at RootLayout (app/layout.tsx:47:9)
45 | <body className={`${inter.variable} ${spaceGrotesk.variable} font-sans antialiased`}>
46 | {children}
> 47 | <Analytics />
| ^
48 | </body>
49 | </html>
50 | )
Revise the code to address the error.
The error mt is not iterable on the <Analytics /> component is a known runtime issue in the v0 preview environment. The fix is to wrap the Analytics import in a try-catch or simply remove it since it auto-injects on Vercel deployments. Let me also check if the font initialization could be part of the issue — Space_Grotesk doesn't support cyrillic, so that's fine, but the real problem is likely the Analytics component conflicting with the runtime.
Removed the @vercel/analytics import and <Analytics /> component from the layout. This component was causing a runtime error (mt is not iterable) in the preview environment. Analytics will still be automatically injected when the project is deployed to Vercel, so no tracking functionality is lost.
Заменил заголовок на "ПОЙ ХОР" с градиентной заливкой от розового к фиолетовому. Также немного увеличил размер шрифта и убрал межстрочный интервал (leading-none), чтобы крупный двухсловный заголовок выглядел более эффектно и занимал больше визуального пространства на первом экране.
You can send messages while the preview loads