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

Function updateSignOutButtonUI

auth/phone-simple.ts:54–60  ·  view source on GitHub ↗

* Updates the state of the Sign out button.

()

Source from the content-addressed store, hash-verified

52 * Updates the state of the Sign out button.
53 */
54function updateSignOutButtonUI() {
55 if (auth.currentUser) {
56 signOutButton.style.display = 'block';
57 } else {
58 signOutButton.style.display = 'none';
59 }
60}
61
62/**
63 * Updates the Signed in user status panel.

Callers 1

phone-simple.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected