chore: fix double alert on login failed
Compare changes
Files
6
src/components/Layout/Layout.tsx deleted
100644 → 0
+ 0
− 14
![]() |
---|
feat(profile): add... |
fix(annuaire): remove... |
The Sidebar was rendered inside the layout and called the whoAmI
hook which cause the double alert because the router was also calling it. Now the sidebar is not rendered if the user is not logged in.
These are strongly recommended to assist reviewers and reduce the time to merge your change.
List all steps to set up and validate the changes on local environment.
To be completed by the chosen reviewer.