MCPcopy Create free account
hub / github.com/Forward-Future/loopy / clearVoteSessionToken

Function clearVoteSessionToken

loop-library/site/script.js:630–636  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

628 try {
629 return window.sessionStorage.getItem(VOTE_SESSION_KEY) || "";
630 } catch {
631 return "";
632 }
633}
634
635function clearVoteSessionToken() {
636 try {
637 window.sessionStorage.removeItem(VOTE_SESSION_KEY);
638 } catch {
639 // Storage may be unavailable in hardened browser modes.

Callers 3

renderVoteAccountFunction · 0.85
loadVotesFunction · 0.85
script.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected