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

Function onVerified

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

Source from the content-addressed store, hash-verified

37 onVerification.current = onVerifiedProps;
38
39 const onVerified = () => {
40 if (onVerification?.current) {
41 onVerification.current();
42 onVerification.current = undefined;
43 } else {
44 displayToast('Session successfully verified!');
45 }
46 };
47
48 return openModal({
49 type: LazyModal.VerifySession,

Callers 1

VerifySessionModalFunction · 0.85

Calls 1

displayToastFunction · 0.85

Tested by

no test coverage detected