Created
September 30, 2023 04:17
-
-
Save YonatanKra/11179d98efd9ceb1e6abbe01ae95be90 to your computer and use it in GitHub Desktop.
Tauri-demo: implement onAuthStateChanged
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
constructor() { | |
super(); | |
onAuthStateChanged(getAuth(), () => this.dispatchEvent(new CustomEvent('user-status-change'))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment