From 599b70cd2390d08ce26ee44174b3f39c6587110c Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 13 Nov 2023 12:37:50 +0100 Subject: refactor(hooks): rewrite usePagination hook * replace `isLoadingInitialData` with `isLoading` & `isRefreshing` * rename `fallbackData` prop to `fallback` * replace `setSize` return with a `loadMore` callback * add tests --- tests/utils/graphql/index.ts | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/utils/graphql/index.ts (limited to 'tests/utils/graphql/index.ts') diff --git a/tests/utils/graphql/index.ts b/tests/utils/graphql/index.ts new file mode 100644 index 0000000..42fc81b --- /dev/null +++ b/tests/utils/graphql/index.ts @@ -0,0 +1 @@ +export * from './connections'; -- cgit v1.2.3