From e4e3000bddfe9f5e3ec06b37fc4f62c07cc9d2e8 Mon Sep 17 00:00:00 2001 From: timonrieger Date: Fri, 12 Jun 2026 03:28:43 +0200 Subject: [PATCH] lint --- web/src/lib/components/timeline/TimelineAssetViewer.svelte | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/src/lib/components/timeline/TimelineAssetViewer.svelte b/web/src/lib/components/timeline/TimelineAssetViewer.svelte index 91963a9fec..75f06b0843 100644 --- a/web/src/lib/components/timeline/TimelineAssetViewer.svelte +++ b/web/src/lib/components/timeline/TimelineAssetViewer.svelte @@ -81,8 +81,9 @@ //TODO: replace this with async derived in svelte 6 $effect(() => { const asset = assetViewerManager.asset; - if (asset) handlePromiseError(loadCloseAssets(asset)); - + if (asset) { + handlePromiseError(loadCloseAssets(asset)); + } }); const handleRandom = async () => {