From 450262b4ae48d5c7f9ecb23d2869a307b766751d Mon Sep 17 00:00:00 2001 From: Max Richter Date: Mon, 19 Jan 2026 14:24:47 +0100 Subject: [PATCH] fix(app): remove unused func --- app/src/routes/+page.svelte | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte index aa8b9ab..0a98614 100644 --- a/app/src/routes/+page.svelte +++ b/app/src/routes/+page.svelte @@ -43,13 +43,17 @@ ); $effect(() => { + workerRuntime.useRegistryCache = + appSettings.value.debug.cache.useRuntimeCache; + workerRuntime.useRuntimeCache = + appSettings.value.debug.cache.useRegistryCache; + if (appSettings.value.debug.cache.useRegistryCache) { nodeRegistry.cache = registryCache; } else { nodeRegistry.cache = undefined; } - workerRuntime.setUseCache(appSettings.value.debug.cache.useRuntimeCache); if (appSettings.value.debug.cache.useRuntimeCache) { memoryRuntime.cache = runtimeCache; } else {