MCPcopy Create free account
hub / github.com/firebase/quickstart-js / updateSignInButtonUI

Function updateSignInButtonUI

auth/phone-simple.ts:43–49  ·  view source on GitHub ↗

* Updates the state of the Sign-in form.

()

Source from the content-addressed store, hash-verified

41 * Updates the state of the Sign-in form.
42 */
43function updateSignInButtonUI() {
44 if (auth.currentUser) {
45 signInButton.style.display = 'none';
46 } else {
47 signInButton.style.display = 'block';
48 }
49}
50
51/**
52 * Updates the state of the Sign out button.

Callers 1

phone-simple.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected