finished reset password & other changes
This commit is contained in:
@@ -4,6 +4,7 @@ import './globals.css'
|
||||
import { ReactElement } from 'react'
|
||||
import { I18nProviderClient } from '@/locales/client'
|
||||
import { lc } from '@/lib/utils'
|
||||
import { Loading } from '@/components/loading'
|
||||
|
||||
const inter = Inter({ subsets: ['cyrillic'] })
|
||||
|
||||
@@ -19,11 +20,13 @@ export default function RootLayout ({
|
||||
params: { locale }, children,
|
||||
}: Readonly<Props>) {
|
||||
|
||||
return (<html lang={lc(locale).java}>
|
||||
return (<html lang={lc(locale)?.java}>
|
||||
{/*<Suspense fallback={<Loading/>}>*/}
|
||||
<body className={inter.className}>
|
||||
<I18nProviderClient locale={locale} fallback={<p>Loading...</p>}>
|
||||
<I18nProviderClient locale={locale} fallback={<Loading/>}>
|
||||
{children}
|
||||
</I18nProviderClient>
|
||||
</body>
|
||||
{/*</Suspense>*/}
|
||||
</html>)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user