refactor: set country based on user data

This commit is contained in:
2025-05-13 06:55:03 +05:30
parent 4851f34357
commit ffc880f6f8
6 changed files with 225 additions and 65 deletions

View File

@@ -15,7 +15,7 @@ const AccountSidebar = () => {
localStorage.removeItem('token')
setToken(null)
toast.success(response.data.message)
router.push('/')
router.push('/accounts/login')
}
console.log(response)
}