mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Change prettier rules
This commit is contained in:
@@ -2,19 +2,19 @@ import 'app/polyfills';
|
||||
import '@testing-library/jest-dom';
|
||||
|
||||
if (!window.localStorage) {
|
||||
window.localStorage = {
|
||||
getItem(key) {
|
||||
return this[key] || null;
|
||||
},
|
||||
setItem(key, value) {
|
||||
this[key] = value;
|
||||
},
|
||||
removeItem(key) {
|
||||
delete this[key];
|
||||
},
|
||||
};
|
||||
window.localStorage = {
|
||||
getItem(key) {
|
||||
return this[key] || null;
|
||||
},
|
||||
setItem(key, value) {
|
||||
this[key] = value;
|
||||
},
|
||||
removeItem(key) {
|
||||
delete this[key];
|
||||
},
|
||||
};
|
||||
|
||||
window.sessionStorage = {
|
||||
...window.localStorage,
|
||||
};
|
||||
window.sessionStorage = {
|
||||
...window.localStorage,
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user