fix: resolve typescript and build errors across admin and guest apps
This commit is contained in:
@@ -127,15 +127,17 @@ export default function WelcomeSummaryPage() {
|
||||
<SummaryRow
|
||||
label={t('summary.details.section.photosTitle', 'Photos & gallery')}
|
||||
value={t('summary.details.section.photosValue', {
|
||||
count: resolvedPackage.max_photos ?? t('summary.details.infinity', '∞'),
|
||||
days: resolvedPackage.gallery_days ?? t('summary.details.infinity', '∞'),
|
||||
})}
|
||||
count: resolvedPackage.max_photos ?? 0,
|
||||
days: resolvedPackage.gallery_days ?? 0,
|
||||
defaultValue: 'Unlimited photos for {{days}} days',
|
||||
} as any) as string}
|
||||
/>
|
||||
<SummaryRow
|
||||
label={t('summary.details.section.guestsTitle', 'Guests & team')}
|
||||
value={t('summary.details.section.guestsValue', {
|
||||
count: resolvedPackage.max_guests ?? t('summary.details.infinity', '∞'),
|
||||
})}
|
||||
count: resolvedPackage.max_guests ?? 0,
|
||||
defaultValue: 'Unlimited guests',
|
||||
} as any) as string}
|
||||
/>
|
||||
{resolvedPackage.remaining_events !== undefined && resolvedPackage.remaining_events !== null ? (
|
||||
<SummaryRow
|
||||
|
||||
Reference in New Issue
Block a user