undefineds
This commit is contained in:
parent
f39a3eeb32
commit
f16e19d2b2
16 changed files with 25 additions and 25 deletions
|
|
@ -104,7 +104,7 @@ const _verifyPrefs = (state) => {
|
|||
|
||||
// Simple
|
||||
Object.entries(defaultState.prefsStorage.simple).forEach(([k, v]) => {
|
||||
if (typeof v === 'undefined') return
|
||||
if (v === undefined) return
|
||||
if (typeof v === 'number' || typeof v === 'boolean') return
|
||||
if (typeof v === 'object') return
|
||||
console.warn(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue