diff --git a/web/src/routes/(user)/tags/[[photos=photos]]/[[assetId=id]]/+page.svelte b/web/src/routes/(user)/tags/[[photos=photos]]/[[assetId=id]]/+page.svelte index bf423e4825..8bb43676e8 100644 --- a/web/src/routes/(user)/tags/[[photos=photos]]/[[assetId=id]]/+page.svelte +++ b/web/src/routes/(user)/tags/[[photos=photos]]/[[assetId=id]]/+page.svelte @@ -44,11 +44,7 @@ $effect(() => void assetStore.updateOptions({ deferInit: !tag, tagId })); onDestroy(() => assetStore.destroy()); - let tags = $state([]); - $effect(() => { - tags = data.tags; - }); - + let tags = $derived(data.tags); let tagsMap = $derived(buildMap(tags)); let tag = $derived(currentPath ? tagsMap[currentPath] : null); let tagId = $derived(tag?.id);