fix: resolve typescript and build errors across admin and guest apps
This commit is contained in:
@@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user