fix: replace {__} workaround with clean range() helper in Svelte templates

This commit is contained in:
2026-07-11 12:50:13 +01:00
parent d172adf392
commit 294d844493
21 changed files with 71 additions and 71 deletions
@@ -14,6 +14,7 @@
import type { BusinessSettings } from '$lib/types/settings';
import { isValidUKPhone, toE164UK, normalisePhoneInput } from '$lib/utils/phone';
import { isValidEmail, normalizeEmail } from '$lib/utils/email';
import { range } from '$lib/utils/format';
let settings = $state<BusinessSettings | null>(null);
let loading = $state(true);
@@ -286,8 +287,7 @@
<Card.Content>
{#if loading}
<div class="space-y-4">
{#each Array(3) as __, i (i)}
{__}
{#each range(3) as i (i)}
<div class="space-y-2">
<Skeleton class="h-4 w-32" />
<Skeleton class="h-5 w-full" />