mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-04-20 23:08:29 +00:00
17 lines
388 B
TypeScript
17 lines
388 B
TypeScript
import { QueryClient, QueryClientProvider } from 'react-query';
|
|
|
|
import type { AppProps } from 'next/app';
|
|
|
|
const queryClient = new QueryClient();
|
|
|
|
const App = (props: AppProps): JSX.Element => {
|
|
const { Component, pageProps } = props;
|
|
|
|
return (
|
|
<QueryClientProvider client={queryClient}>
|
|
<Component {...pageProps} />
|
|
</QueryClientProvider>
|
|
);
|
|
};
|
|
|
|
export default App;
|