File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17+ import { useUI } from "@invertase/firebaseui-react" ;
18+ import { multiFactor , sendEmailVerification , signOut } from "firebase/auth" ;
1719import { Link , useNavigate } from "react-router" ;
18- import { routes } from "./routes" ;
19- import { useUser } from "./firebase/hooks" ;
2020import { auth } from "./firebase/firebase" ;
21- import { multiFactor , sendEmailVerification , signOut } from "firebase/auth " ;
22- import { useUI } from "@invertase/firebaseui-react " ;
21+ import { useUser } from "./ firebase/hooks " ;
22+ import { routes } from "./routes " ;
2323
2424function App ( ) {
2525 const user = useUser ( ) ;
@@ -35,9 +35,9 @@ function UnauthenticatedApp() {
3535 const ui = useUI ( ) ;
3636
3737 // This can trigger if the user is not on a screen already, and gets an MFA challenge - e.g. on One-Tap sign in.
38- // if (ui.multiFactorResolver) {
39- // return <MultiFactorAuthAssertionScreen />;
40- // }
38+ if ( ui . multiFactorResolver ) {
39+ return < MultiFactorAuthAssertionScreen /> ;
40+ }
4141
4242 return (
4343 < div className = "max-w-sm mx-auto pt-36 space-y-6 pb-36" >
You can’t perform that action at this time.
0 commit comments