uncommit important stuff

This commit is contained in:
pramod.mahajan 2025-09-24 15:09:34 +05:30
parent 1f4a7e5e9c
commit 521e6690cb

View File

@ -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) {