这是indexloc提供的服务,不要输入任何密码
Skip to content

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

Merged
merged 8 commits into from
Jun 11, 2024
Merged

bugfix: error on auth page #368

merged 8 commits into from
Jun 11, 2024

Conversation

muzanella11
Copy link
Contributor

@muzanella11 muzanella11 commented Jun 10, 2024

What's new:

  • Fix error in the local environment FirebaseAuthUI wasn't available
Screen.Recording.2024-06-11.at.16.01.15.mov

@muzanella11 muzanella11 self-assigned this Jun 10, 2024
@muzanella11 muzanella11 changed the base branch from main to next June 10, 2024 09:01
@muzanella11 muzanella11 marked this pull request as draft June 10, 2024 09:02
@muzanella11 muzanella11 marked this pull request as ready for review June 11, 2024 08:59
Copy link

github-actions bot commented Jun 11, 2024

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

@muzanella11 muzanella11 linked an issue Jun 11, 2024 that may be closed by this pull request
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);
Copy link
Contributor

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] ....

Copy link
Contributor

@detautama detautama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@DennisAlund DennisAlund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome sauce 🥫

@DennisAlund DennisAlund merged commit 00fb10c into next Jun 11, 2024
@DennisAlund DennisAlund deleted the bugfix/364-error-on-auth-page branch June 11, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Error on auth page
3 participants