fix type errors
This commit is contained in:
parent
bc9330fd57
commit
0f16c1d8a2
@ -3,7 +3,7 @@ import App from "../../App";
|
|||||||
import { useEffect, useRef, useState } from "react";
|
import { useEffect, useRef, useState } from "react";
|
||||||
import { AlertDialog } from "@radix-ui/react-alert-dialog";
|
import { AlertDialog } from "@radix-ui/react-alert-dialog";
|
||||||
import { AlertDialogContent } from "../ui/alert-dialog";
|
import { AlertDialogContent } from "../ui/alert-dialog";
|
||||||
import FullPageSpinner from "../custom-ui/FullPageSpinner";
|
// import FullPageSpinner from "../custom-ui/FullPageSpinner";
|
||||||
import { useAuthenticatedFetch } from "./useAuthenticatedFetch";
|
import { useAuthenticatedFetch } from "./useAuthenticatedFetch";
|
||||||
|
|
||||||
function AppContainer() {
|
function AppContainer() {
|
||||||
@ -18,6 +18,7 @@ function AppContainer() {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (isLoaded && !isSignedIn) {
|
if (isLoaded && !isSignedIn) {
|
||||||
// setShowPopup(true);
|
// setShowPopup(true);
|
||||||
|
setShowPopup(false);
|
||||||
}
|
}
|
||||||
}, [isSignedIn, isLoaded]);
|
}, [isSignedIn, isLoaded]);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user