minor fixes

This commit is contained in:
Mohit kalshan 2025-01-21 15:30:07 +05:30
parent 305bbebffb
commit 0d38a260cf

View file

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