Skip to content

Commit

Permalink
Deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronnie5562 committed Aug 2, 2024
1 parent 57eed59 commit 5467863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docnet_frontend/src/services/AuthServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function useAuthService(): AuthServiceProps {

// I used setTimeout to delay the navigation to the profile page
// So that the data I need to store in localstorage is available
setTimeout(() => navigate("/"), 200)
setTimeout(() => navigate("/"), 1000)
} catch (err: any) {
return err.response.status;
}
Expand Down

0 comments on commit 5467863

Please sign in to comment.