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

@@ -39,7 +39,7 @@ export default function MobilePackageShopPage() {
if (isLoading) {
return (
<MobileShell title={t('shop.title', 'Upgrade Package')} showBack activeTab="profile">
<MobileShell title={t('shop.title', 'Upgrade Package')} onBack={() => navigate(-1)} activeTab="profile">
<YStack space="$3">
<SkeletonCard height={150} />
<SkeletonCard height={150} />
@@ -71,7 +71,7 @@ export default function MobilePackageShopPage() {
});
return (
<MobileShell title={t('shop.title', 'Upgrade Package')} showBack activeTab="profile">
<MobileShell title={t('shop.title', 'Upgrade Package')} onBack={() => navigate(-1)} activeTab="profile">
<YStack space="$4">
{recommendedFeature && (
<MobileCard borderColor={primary} backgroundColor={accentSoft} space="$2" padding="$3">
@@ -156,7 +156,7 @@ function PackageShopCard({
<Text fontSize="$lg" fontWeight="800" color={textStrong}>
{pkg.name}
</Text>
{isRecommended && <PillBadge tone="primary">{t('shop.badges.recommended', 'Recommended')}</PillBadge>}
{isRecommended && <PillBadge tone="warning">{t('shop.badges.recommended', 'Recommended')}</PillBadge>}
{isActive && <PillBadge tone="success">{t('shop.badges.active', 'Active')}</PillBadge>}
</XStack>
@@ -171,7 +171,9 @@ function PackageShopCard({
)}
</XStack>
</YStack>
<ChevronRight size={20} color={muted} marginTop="$2" />
<YStack marginTop="$2">
<ChevronRight size={20} color={muted} />
</YStack>
</XStack>
<YStack space="$1.5">
@@ -238,7 +240,7 @@ function CheckoutConfirmation({ pkg, onCancel }: { pkg: Package; onCancel: () =>
};
return (
<MobileShell title={t('shop.confirmTitle', 'Confirm Purchase')} onBack={onCancel}>
<MobileShell title={t('shop.confirmTitle', 'Confirm Purchase')} onBack={onCancel} activeTab="profile">
<YStack space="$4">
<MobileCard space="$2" borderColor={border}>
<Text fontSize="$sm" color={muted}>{t('shop.confirmSubtitle', 'You are upgrading to:')}</Text>