mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
chore(local-storage): revert value clear [ci skip]
This commit is contained in:
parent
f6833c11f2
commit
4ab74f744d
1 changed files with 0 additions and 2 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue