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

Function logError

packages/shared/src/components/auth/SocialRegistrationForm.tsx:99–104  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

97 }, []);
98
99 const logError = (error: unknown) => {
100 logEvent({
101 event_name: AuthEventNames.SubmitSignUpFormError,
102 extra: JSON.stringify({ error }),
103 });
104 };
105
106 useEffect(() => {
107 if (Object.values(hints ?? {}).some(Boolean)) {

Callers 2

SocialRegistrationFormFunction · 0.85
onSubmitFunction · 0.85

Calls 1

logEventFunction · 0.85

Tested by

no test coverage detected