fix: resolve Svelte a11y and reactivity build warnings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-23 17:45:27 +01:00
parent 3e2ba107e3
commit 069d524d3e
3 changed files with 5 additions and 3 deletions

View File

@@ -30,6 +30,7 @@ const restProgress = $derived(restTotal > 0 ? restSeconds / restTotal : 0);
<SyncIndicator status={syncStatus} />
</div>
{#if restTotal > 0 && restSeconds > 0}
<!-- svelte-ignore a11y_click_events_have_key_events, a11y_no_noninteractive_element_interactions -->
<div class="rest-pill" onclick={(e) => e.stopPropagation()}>
<div class="rest-fill" style:width="{restProgress * 100}%"></div>
<div class="rest-controls">