aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/hooks/use-redirection.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(pages): refine Blog pagesArmand Philippot2023-12-041-31/+0
| | | | | | | | | | * replace usePostsList with useArticlesList to keep names coherent * remove useIsMounted hook * rewrite useRedirection hook * add redirect in getStaticProps to avoid unecessary fetching * move Pagination component in a noscript tag * use hooks to refresh thematics and topics lists * complete Cypress 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: handle blog pagination when JS is disabledArmand Philippot2022-05-201-0/+33