chore(local-storage): revert value clear [ci skip]

This commit is contained in:
Eric Y Liu 2021-07-09 13:32:32 -07:00
commit 4ab74f744d

View file

@ -20,7 +20,6 @@
* @type {() => void} * @type {() => void}
*/ */
export function clearItem() { export function clearItem() {
value = "";
localStorage.removeItem(key); localStorage.removeItem(key);
} }
@ -29,7 +28,6 @@
* @type {() => void} * @type {() => void}
*/ */
export function clearAll() { export function clearAll() {
value = "";
localStorage.clear(); localStorage.clear();
} }