This commit is contained in:
2024-10-02 14:02:14 +05:30
parent 7b24db3e00
commit 084641c561

View File

@@ -95,7 +95,7 @@ const DashboardLayout = ({ isOnline }) => {
useEffect(() => {
if(!localStorage.getItem('accessToken') && !localStorage.getItem('refreshToken')){
logOutHandler()
navigate('/login')
return navigate('/login')
}