()
| 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; |
nothing calls this directly
no outgoing calls
no test coverage detected