Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 65eacff

Browse files
committed
redundant code is redundant
1 parent ef3df3e commit 65eacff

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/UserSettingsStore.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,7 @@ export default {
207207
// Make it explicit that guests get the defaults (although they shouldn't
208208
// have been able to ever toggle the flags anyway)
209209
const userValue = localStorage.getItem(`mx_labs_feature_${featureId}`);
210-
if (userValue !== null) {
211-
return userValue === 'true';
212-
}
210+
return userValue === 'true';
213211
}
214212
return false;
215213
} else {

0 commit comments

Comments
 (0)