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

Function hasNotification

packages/shared/src/hooks/useInAppNotification.ts:46–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 client.getQueryData<InAppNotification>(IN_APP_NOTIFICATION_KEY) || null,
45 });
46 const hasNotification = (): boolean =>
47 !!client.getQueryData(IN_APP_NOTIFICATION_KEY);
48 const setInAppNotification = (data: InAppNotification) =>
49 client.setQueryData(IN_APP_NOTIFICATION_KEY, data);
50

Callers 1

addToQueueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected