Removed storage check

This commit is contained in:
Wyatt Johnson
2018-04-12 13:24:56 -06:00
parent 5125bb5d2d
commit bb11de562f
+1 -5
View File
@@ -52,11 +52,7 @@ let lang;
let timeagoInstance;
function setLocale(storage, locale) {
try {
storage.setItem('locale', locale);
} catch (err) {
console.warn('Error while trying to persist the language detection', err);
}
storage.setItem('locale', locale);
}
// detectLanguage will try to get the locale from storage if available,