From 188d4893f9f209aae10294bf72fe9f23ed399c28 Mon Sep 17 00:00:00 2001 From: Ansh Date: Fri, 15 Sep 2023 22:02:44 +0530 Subject: add React Query and hook up to existing functionality (#1358) * add React Query and hook up to existing functionality * wire in remote data, add error message * remove hard-coded feeds * oops fix logic * add loading state * fix loading on mobile --------- Co-authored-by: Eric Bailey --- src/lib/react-query.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/lib/react-query.ts (limited to 'src/lib/react-query.ts') diff --git a/src/lib/react-query.ts b/src/lib/react-query.ts new file mode 100644 index 000000000..2a8f1d759 --- /dev/null +++ b/src/lib/react-query.ts @@ -0,0 +1,3 @@ +import {QueryClient} from '@tanstack/react-query' + +export const queryClient = new QueryClient() -- cgit 1.4.1