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
@@ -1,6 +1,7 @@
<script lang="ts">
import { toast } from 'svelte-sonner';
import { apiFetch } from '$lib/utils/api';
import { range } from '$lib/utils/format';
// shadcn-svelte components
import { Button } from '$lib/components/ui/button';
@@ -462,8 +463,7 @@
<div class="space-y-4 md:hidden">
{#if servicesLoading}
{#each Array(3) as __, i (i)}
{__}
{#each range(3) as i (i)}
<div class="rounded-lg border p-4">
<div class="space-y-3">
<Skeleton class="h-5 w-32" />