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

Function getGoogleId

packages/shared/src/hooks/auth/useGoogleOneTap.ts:54–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52};
53
54const getGoogleId = (): GoogleId | undefined =>
55 (globalThis as unknown as { google?: { accounts?: { id?: GoogleId } } })
56 .google?.accounts?.id;
57
58const loadGsiScript = (): Promise<void> =>
59 new Promise((resolve, reject) => {

Callers 3

loadGsiScriptFunction · 0.85
initFunction · 0.85
useGoogleOneTapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected