aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/hooks/use-pagination.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-5/+6
| | | | | | 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.
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-191-2/+2
| | | | | | Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
* refactor(types): move and rename GraphQL typesArmand Philippot2022-08-201-3/+4
| | | | | | | The api file in services was not really readable. So I move the types and I also rewrite a little the fetch function. I also rename most of the type to avoid conflict with preexisting types (like Node) and to keep consistency.
* chore: add Search pageArmand Philippot2022-05-151-1/+2
|
* chore: handle blog paginationArmand Philippot2022-05-131-0/+116