Home.svelte and TagPage.svelte both pre-decrypted private rows with the same ~15-line $derived.by block (loop + decryptPayload + try/catch). Move it into a small lib helper so future changes (parallelism, error reporting) live in one place. Both call sites now use a plain $derived(decryptPrivateCleartext(activities, session.dek)). Surfaced by /audit simplify. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| index.html | ||
| svelte.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||