MCPcopy Create free account
hub / github.com/ethereum/node-crawler / hideNote

Function hideNote

frontend/src/organisms/Header.tsx:11–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9 const [noteHidden, setNoteHidden] = useState(localStorage.getItem("noteHidden") === "true");
10
11 const hideNote = () => {
12 localStorage.setItem("noteHidden", "true");
13 setNoteHidden(true);
14 }
15
16 if (noteHidden) {
17 return null;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected