MCPcopy Index your code
hub / github.com/firebase/quickstart-js / updateSignOutButtonUI

Function updateSignOutButtonUI

auth/phone-visible.ts:241–247  ·  view source on GitHub ↗

* Updates the state of the Sign out button.

()

Source from the content-addressed store, hash-verified

239 * Updates the state of the Sign out button.
240 */
241function updateSignOutButtonUI() {
242 if (auth.currentUser) {
243 signOutButton.style.display = 'block';
244 } else {
245 signOutButton.style.display = 'none';
246 }
247}
248
249/**
250 * Updates the Signed in user status panel.

Callers 1

phone-visible.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected