SkateSpots/src/pages/HomePage.tsx

11 lines
428 B
TypeScript

import { lazyWithRetry } from '@/lib/lazyWithRetry';
/**
* Web/desktop home route: keep the map (and its card/Zap dependencies) out of
* the initial entry chunk. Vite aliases this module to HomePage.native.tsx in
* the Capacitor build, where the map stays eager so the native WebView can
* never show a blank Suspense screen on boot.
*/
const HomePage = lazyWithRetry(() => import('./MapPage'));
export default HomePage;