uncommit important stuff
This commit is contained in:
parent
1f4a7e5e9c
commit
521e6690cb
@ -21,11 +21,11 @@ const TenantSelectionPage = () => {
|
||||
const {mutate:handleLogout,isPending:isLogouting} = useLogout(()=>{})
|
||||
|
||||
|
||||
// useEffect(() => {
|
||||
// if (localStorage.getItem("ctnt")) {
|
||||
// navigate("/dashboard");
|
||||
// }
|
||||
// }, [navigate]);
|
||||
useEffect(() => {
|
||||
if (localStorage.getItem("ctnt")) {
|
||||
navigate("/dashboard");
|
||||
}
|
||||
}, [navigate]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!isLoading && data?.data?.length === 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user