20 lines
645 B
TypeScript
20 lines
645 B
TypeScript
'use client';
|
|
|
|
// First: fills the client module graph before any client component renders.
|
|
import '../../../bootstrap/bootstrap.client';
|
|
|
|
import { AppShell } from '@lumina/market/app/app-shell';
|
|
|
|
import { getQueryClient } from '../../../configs/react-query';
|
|
import { i18n } from '../../../i18n/i18n.client';
|
|
import type { AppProvidersProps } from './types';
|
|
|
|
/** The app's root client component: runs the client bootstrap, then the platform's shell. */
|
|
export function AppProviders({ children }: AppProvidersProps) {
|
|
return (
|
|
<AppShell queryClient={getQueryClient()} i18n={i18n} layout="desktop">
|
|
{children}
|
|
</AppShell>
|
|
);
|
|
}
|