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.
|
|
|
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';
|
|
|
|
import { Provider } from 'react-redux';
|
|
|
|
import { store } from './redux/store';
|
|
|
|
import App from './App';
|
|
|
|
import { theme } from './styles/styled';
|
|
|
|
|
|
|
|
const queryClient = new QueryClient();
|
|
|
|
|
|
|
|
render(
|
|
|
|
<ThemeProvider theme={theme}>
|
|
|
|
<HelmetProvider>
|
|
|
|
<DndProvider backend={HTML5Backend}>
|
|
|
|
<QueryClientProvider client={queryClient}>
|
|
|
|
<Provider store={store}>
|
|
|
|
<App />
|
|
|
|
</Provider>
|
|
|
|
</QueryClientProvider>
|
|
|
|
</DndProvider>
|
|
|
|
</HelmetProvider>
|
|
|
|
</ThemeProvider>,
|
|
|
|
document.getElementById('root')
|
|
|
|
);
|