From 2657469964e24ffbeb905024532120395f6e797c Mon Sep 17 00:00:00 2001
From: Mo Tarbin <mhed.t91@gmail.com>
Date: Sun, 30 Jun 2024 18:55:39 -0400
Subject: move to Donetick Org, First commit frontend

---
 src/contexts/QueryContext.jsx | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 src/contexts/QueryContext.jsx

(limited to 'src/contexts/QueryContext.jsx')

diff --git a/src/contexts/QueryContext.jsx b/src/contexts/QueryContext.jsx
new file mode 100644
index 0000000..3087d65
--- /dev/null
+++ b/src/contexts/QueryContext.jsx
@@ -0,0 +1,11 @@
+import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
+
+const QueryContext = ({ children }) => {
+  const queryClient = new QueryClient()
+
+  return (
+    <QueryClientProvider client={queryClient}>{children}</QueryClientProvider>
+  )
+}
+
+export default QueryContext
-- 
cgit 

