Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oodamien committed May 6, 2024
1 parent 7c0c920 commit e7a3fa1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions start-client/src/components/reducer/Initializr.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ export const defaultInitializrContext = {
warnings: {},
}

const localStorage =
typeof window !== 'undefined'
? window.localStorage
: {
get: () => {},
set: () => {},
}

const getPersistedOrDefault = json => {
const values = {
project:
Expand Down

0 comments on commit e7a3fa1

Please sign in to comment.