MCPcopy Create free account
hub / github.com/VienLi/CcView / removeStorage

Function removeStorage

src/utils/common.ts:45–49  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

43 }
44}
45export function removeStorage(key: string) {
46 if (typeof window !== 'undefined') {
47 localStorage.removeItem(key);
48 }
49}
50const formatNumber = (num: number) => {
51 return `0${num}`.slice(-2);
52};

Callers 1

logOutFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected