redundant code is redundant

This commit is contained in:
David Baker 2017-10-12 17:28:53 +01:00
parent ef3df3e3fa
commit 65eacff3d3

View File

@ -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 {