aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/hooks/use-is-mounted.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(pages): refine Blog pagesArmand Philippot2023-12-041-17/+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: add a PageLayout componentArmand Philippot2022-04-251-0/+19