diff --git a/src/utils/storage.js b/src/utils/storage.js deleted file mode 100644 index 4080de44..00000000 --- a/src/utils/storage.js +++ /dev/null @@ -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, -};