weiterer fortschritt mit tamagui und dem neuen mobile event admin
This commit is contained in:
@@ -26,7 +26,14 @@ const appRoot = async () => {
|
||||
const { ToastProvider } = await import('./components/ToastHost');
|
||||
const { LocaleProvider } = await import('./i18n/LocaleContext');
|
||||
const { default: MatomoTracker } = await import('@/components/analytics/MatomoTracker');
|
||||
const matomoConfig = (window as any).__MATOMO_GUEST__ as { enabled?: boolean; url?: string; siteId?: string };
|
||||
const rawMatomo = (window as any).__MATOMO_GUEST__ as { enabled?: boolean; url?: string; siteId?: string } | undefined;
|
||||
const matomoConfig = rawMatomo
|
||||
? {
|
||||
enabled: Boolean(rawMatomo.enabled),
|
||||
url: rawMatomo.url ?? '',
|
||||
siteId: rawMatomo.siteId ?? '',
|
||||
}
|
||||
: undefined;
|
||||
|
||||
// Register a minimal service worker for background sync (best-effort)
|
||||
if ('serviceWorker' in navigator) {
|
||||
|
||||
Reference in New Issue
Block a user