aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utils/graphql/connections.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(hooks): remove useSettings hookArmand Philippot2023-11-151-2/+2
| | | | | | | It does not make sense to re-export an existing object through a hook. On some pages both the hook and the object was imported... It is better to use the CONFIG (previously settings) object directly and by doing it we avoid potential errors because of conditional hooks.
* refactor(hooks): rewrite usePagination hookArmand Philippot2023-11-131-0/+54
* replace `isLoadingInitialData` with `isLoading` & `isRefreshing` * rename `fallbackData` prop to `fallback` * replace `setSize` return with a `loadMore` callback * add tests