From 2d5ff954417b23a2cc2dc25d74075dc7116e84b7 Mon Sep 17 00:00:00 2001 From: Ty Date: Mon, 14 Sep 2026 11:49:01 -0700 Subject: [PATCH] Fix SSR browser gate: use browser from $app/environment The gate check ran during SSR where navigator is undefined, rendering the 'Unsupported browser' div into the initial HTML. Now gated on browser (client-only) so SSR renders the app and the gate evaluates in the browser. --- frontend/src/routes/+layout.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index 9fd99fb..0246d10 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -1,12 +1,13 @@