|
|
@ -6,7 +6,7 @@ import { isRtlLang } from 'rtl-detect';
|
|
|
|
|
|
|
|
|
|
|
|
import Analytics from '@/components/Analytics';
|
|
|
|
import Analytics from '@/components/Analytics';
|
|
|
|
import { DEFAULT_LANG } from '@/const/locale';
|
|
|
|
import { DEFAULT_LANG } from '@/const/locale';
|
|
|
|
import PWAInstall from '@/features/PWAInstall';
|
|
|
|
// import PWAInstall from '@/features/PWAInstall';
|
|
|
|
import AuthProvider from '@/layout/AuthProvider';
|
|
|
|
import AuthProvider from '@/layout/AuthProvider';
|
|
|
|
import GlobalProvider from '@/layout/GlobalProvider';
|
|
|
|
import GlobalProvider from '@/layout/GlobalProvider';
|
|
|
|
import { Locales } from '@/locales/resources';
|
|
|
|
import { Locales } from '@/locales/resources';
|
|
|
@ -42,7 +42,7 @@ const RootLayout = async ({ children, params, modal }: RootLayoutProps) => {
|
|
|
|
{children}
|
|
|
|
{children}
|
|
|
|
{!isMobile && modal}
|
|
|
|
{!isMobile && modal}
|
|
|
|
</AuthProvider>
|
|
|
|
</AuthProvider>
|
|
|
|
<PWAInstall />
|
|
|
|
{/*<PWAInstall />*/}
|
|
|
|
</GlobalProvider>
|
|
|
|
</GlobalProvider>
|
|
|
|
<Analytics />
|
|
|
|
<Analytics />
|
|
|
|
{inVercel && <SpeedInsights />}
|
|
|
|
{inVercel && <SpeedInsights />}
|
|
|
|