Skip to content

Commit

Permalink
[#31] fix for the server hydration issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
cepicdalim committed Oct 28, 2024
1 parent 6ac58b8 commit 693827f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/stores/workbench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/',
Expand Down

0 comments on commit 693827f

Please sign in to comment.