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.

29 lines
877 B

3 years ago
import React from 'react';
import { render } from 'react-dom';
import { HelmetProvider } from 'react-helmet-async';
import { ThemeProvider } from 'styled-components';
import { DndProvider } from 'react-dnd';
import { HTML5Backend } from 'react-dnd-html5-backend';
import { QueryClient, QueryClientProvider } from 'react-query';
3 years ago
import { Provider } from 'react-redux';
3 years ago
import { store } from './redux/store';
3 years ago
import App from './App';
import { theme } from './styles/styled';
const queryClient = new QueryClient();
3 years ago
render(
<Provider store={store}>
<ThemeProvider theme={theme}>
<DndProvider backend={HTML5Backend}>
<QueryClientProvider client={queryClient}>
<HelmetProvider>
<App />
</HelmetProvider>
</QueryClientProvider>
</DndProvider>
</ThemeProvider>
</Provider>,
3 years ago
document.getElementById('root')
);