MCPcopy Index your code
hub / github.com/monkeytypegame/monkeytype / setUserState

Function setUserState

frontend/src/ts/firebase.ts:137–150  ·  view source on GitHub ↗
(
  options: {
    uid: string;
    emailVerified: boolean;
  } | null,
)

Source from the content-addressed store, hash-verified

135}
136
137export function setUserState(
138 options: {
139 uid: string;
140 emailVerified: boolean;
141 } | null,
142): void {
143 if (options === null) {
144 setUserId(null);
145 setUserVerified(false);
146 } else {
147 setUserId(options.uid);
148 setUserVerified(options.emailVerified);
149 }
150}
151
152export async function signInWithPopup(
153 provider: AuthProvider,

Callers 3

applyFunction · 0.90
initFunction · 0.85
signInWithPopupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected