From 693827f1f59f49e561baaac11ebaba85155c2679 Mon Sep 17 00:00:00 2001 From: "dalim.cepic" Date: Mon, 28 Oct 2024 23:32:55 +0300 Subject: [PATCH] [#31] fix for the server hydration issue. --- app/lib/stores/workbench.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/stores/workbench.ts b/app/lib/stores/workbench.ts index b657a3456..bb1bd950d 100644 --- a/app/lib/stores/workbench.ts +++ b/app/lib/stores/workbench.ts @@ -441,7 +441,7 @@ export class WorkbenchStore { } } async uploadFolder(files: FileList | null) { - if (!files) return; + if (!files || import.meta.env.SSR) return; const ignoredFiles = [ '.git/',