fix: resolve typescript and build errors across admin and guest apps

This commit is contained in:
Codex Agent
2026-01-07 13:25:30 +01:00
parent 1ec4987b38
commit 8e1031fff0
42 changed files with 1056 additions and 30446 deletions

View File

@@ -36,7 +36,7 @@ export default function MobileEventAnalyticsPage() {
if (isFeatureLocked) {
return (
<MobileShell title={t('analytics.title', 'Analytics')} activeTab="events">
<MobileShell title={t('analytics.title', 'Analytics')} activeTab="home">
<MobileCard
space="$4"
padding="$6"
@@ -75,7 +75,7 @@ export default function MobileEventAnalyticsPage() {
if (isLoading) {
return (
<MobileShell title={t('analytics.title', 'Analytics')} activeTab="events">
<MobileShell title={t('analytics.title', 'Analytics')} activeTab="home">
<YStack space="$3">
<SkeletonCard height={200} />
<SkeletonCard height={150} />
@@ -87,7 +87,7 @@ export default function MobileEventAnalyticsPage() {
if (error || !data) {
return (
<MobileShell title={t('analytics.title', 'Analytics')} activeTab="events">
<MobileShell title={t('analytics.title', 'Analytics')} activeTab="home">
<MobileCard borderColor={border} padding="$4">
<Text color={muted}>{t('common.error', 'Something went wrong')}</Text>
</MobileCard>
@@ -107,8 +107,8 @@ export default function MobileEventAnalyticsPage() {
<MobileShell
title={t('analytics.title', 'Analytics')}
subtitle={activeEvent?.name as string}
activeTab="events"
showBack
activeTab="home"
onBack={() => navigate(-1)}
>
<YStack space="$4">
{/* Activity Timeline */}