MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / cleanUpStorage

Function cleanUpStorage

packages/auth-client/src/client/utils.ts:128–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126}
127
128export function cleanUpStorage() {
129 if (typeof window === 'undefined') return;
130 localStorage.removeItem('jwt');
131 localStorage.removeItem('linen.message');
132}
133
134export function getJwtToken() {
135 if (typeof window === 'undefined') return;

Callers 1

signOutFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected