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

Function updateSignOutButtonUI

auth/phone-invisible.ts:225–231  ·  view source on GitHub ↗

* Updates the state of the Sign out button.

()

Source from the content-addressed store, hash-verified

223 * Updates the state of the Sign out button.
224 */
225function updateSignOutButtonUI() {
226 if (auth.currentUser) {
227 signOutButton.style.display = 'block';
228 } else {
229 signOutButton.style.display = 'none';
230 }
231}
232
233/**
234 * Updates the Signed in user status panel.

Callers 1

phone-invisible.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected