From f021b52028f5965516671b7f53e7e71543a8ae52 Mon Sep 17 00:00:00 2001
From: Jan Tuomi <jans.tuomi@gmail.com>
Date: Wed, 30 Jun 2021 11:33:40 +0300
Subject: Do things

---
 frontend/pages/_app.tsx | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 frontend/pages/_app.tsx

(limited to 'frontend/pages/_app.tsx')

diff --git a/frontend/pages/_app.tsx b/frontend/pages/_app.tsx
new file mode 100644
index 0000000..aa87acf
--- /dev/null
+++ b/frontend/pages/_app.tsx
@@ -0,0 +1,16 @@
+import type { AppProps } from "next/app";
+import { ReactElement } from "react";
+import { QueryClient, QueryClientProvider } from "react-query";
+import "../styles/globals.css";
+
+const queryClient = new QueryClient();
+
+const MyApp = ({ Component, pageProps }: AppProps): ReactElement => {
+    return (
+        <QueryClientProvider client={queryClient}>
+            <Component {...pageProps} />
+        </QueryClientProvider>
+    );
+};
+
+export default MyApp;
-- 
cgit v1.3

