MCPcopy Create free account
hub / github.com/dailydotdev/apps / turnOff

Function turnOff

packages/shared/src/components/DndBanner.tsx:19–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 // `usePersistentContext('dnd')` mutation accepts null at runtime to clear
18 // the IDB key. Match the same call site pattern used elsewhere.
19 const turnOff = () =>
20 (onDndSettings as unknown as (s: null) => Promise<void>)?.(null);
21
22 return (
23 <div className="relative z-popup flex w-full flex-col items-start bg-accent-onion-default py-3 pl-3 pr-12 typo-footnote laptop:fixed laptop:h-8 laptop:flex-row laptop:items-center laptop:justify-center laptop:p-0">

Callers 1

HelperFormFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected