redundant code is redundant
This commit is contained in:
parent
ef3df3e3fa
commit
65eacff3d3
1 changed files with 1 additions and 3 deletions
|
@ -207,9 +207,7 @@ export default {
|
|||
// Make it explicit that guests get the defaults (although they shouldn't
|
||||
// have been able to ever toggle the flags anyway)
|
||||
const userValue = localStorage.getItem(`mx_labs_feature_${featureId}`);
|
||||
if (userValue !== null) {
|
||||
return userValue === 'true';
|
||||
}
|
||||
return userValue === 'true';
|
||||
}
|
||||
return false;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue