Removed unused file
This commit is contained in:
parent
34cb95a7e6
commit
65469a5786
|
@ -1,17 +0,0 @@
|
|||
export const get = (key) => {
|
||||
const string = window.localStorage.getItem(key);
|
||||
try {
|
||||
return JSON.parse(string);
|
||||
} catch (e) {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
export const set = (key, value) => {
|
||||
window.localStorage.setItem(key, JSON.stringify(value));
|
||||
};
|
||||
|
||||
export default {
|
||||
get,
|
||||
set,
|
||||
};
|
Loading…
Reference in New Issue