MCPcopy Create free account
hub / github.com/LevelUpWeb3/app / clearState

Function clearState

src/utils/localStorage.ts:59–65  ·  view source on GitHub ↗
(key?)

Source from the content-addressed store, hash-verified

57}
58
59export function clearState(key?) {
60 if (!key) {
61 localStorage.clear();
62 return;
63 }
64 removeItem(key);
65}

Callers

nothing calls this directly

Calls 1

removeItemFunction · 0.85

Tested by

no test coverage detected