MCPcopy Create free account
hub / github.com/CopilotKit/OpenGenerativeUI / dismiss

Function dismiss

apps/app/src/components/desktop-tip-modal.tsx:27–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 );
26
27 const dismiss = () => {
28 try { sessionStorage.setItem(DISMISSED_KEY, "1"); }
29 catch { /* privacy-restricted context */ }
30 emitChange();
31 };
32
33 useEffect(() => {
34 if (!notDismissed) return;

Callers 1

handleKeyDownFunction · 0.85

Calls 1

emitChangeFunction · 0.85

Tested by

no test coverage detected