Tunio Desktop client
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
736 B

3 years ago
import React from 'react';
import settings from 'electron-settings';
3 years ago
import { render } from 'react-dom';
import { QueryClient, QueryClientProvider } from 'react-query';
3 years ago
import { Provider } from 'react-redux';
import { HelmetProvider } from 'react-helmet-async';
3 years ago
import { store } from './redux/store';
3 years ago
import App from './App';
const queryClient = new QueryClient({
defaultOptions: {
queries: {
refetchOnWindowFocus: false,
},
},
});
settings.configure({
prettify: true,
numSpaces: 2,
});
3 years ago
render(
<Provider store={store}>
<QueryClientProvider client={queryClient}>
<HelmetProvider>
<App />
</HelmetProvider>
</QueryClientProvider>
</Provider>,
3 years ago
document.getElementById('root')
);