-
Notifications
You must be signed in to change notification settings - Fork 41
bugfix: error on auth page #368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Visit the preview URL for this PR (updated for commit fc7c693): https://tanam-testing--pr368-bugfix-364-error-on-6lseetsz.web.app (expires Tue, 18 Jun 2024 09:00:27 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 5bbe8a1a68d9684d656bffba10008fe532204561 |
import "firebaseui/dist/firebaseui.css"; | ||
import {useEffect, useState} from "react"; | ||
|
||
const firebaseUi = new firebaseAuthUi.AuthUI(firebaseAuth); | ||
const firebaseUi = firebaseAuthUi.AuthUI.getInstance() || new firebaseAuthUi.AuthUI(firebaseAuth); | ||
|
||
export function useFirebaseUi() { | ||
const [isSignUp, setIsSignup] = useState<boolean>(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replace with const [isSignUp, setIsSignUp] ....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just small fixe https://github.com/oddbit/tanam/pull/368/files#r1634495688
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome sauce 🥫
What's new:
Screen.Recording.2024-06-11.at.16.01.15.mov