aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/hooks/use-route-change.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(hooks): replace useRouteChange with useOnRouteChange hookArmand Philippot2023-11-151-10/+0
| | | | | | * handle both event start and event complete * clean the effect * add tests
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-3/+1
| | | | | | Next expect a default export for pages so only those components should use default exports. Everything else should use named exports to reduce the number of import statements.
* chore: close search form when launching searchArmand Philippot2022-05-241-0/+12