dev-jaanvi #1

Open
jaanvi wants to merge 155 commits from dev-jaanvi into main
Showing only changes of commit 6bc060bb52 - Show all commits

View file

@ -17,7 +17,7 @@ const App: React.FC<ReactCookieProps> = ({ cookies }) => {
); );
useEffect(() => { useEffect(() => {
if (isPanel && isAuthenticated) { if (isPanel && isCookiePresent) {
navigate("/panel/dashboard"); navigate("/panel/dashboard");
} }
}, [isPanel, isAuthenticated, searchParams]); }, [isPanel, isAuthenticated, searchParams]);