jeffvli
3 years ago
2 changed files with 13 additions and 5 deletions
@ -1,19 +1,24 @@ |
|||
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 { Provider } from 'react-redux'; |
|||
import { store } from './redux/store'; |
|||
import App from './App'; |
|||
|
|||
import { theme } from './styles/styled'; |
|||
|
|||
render( |
|||
<Provider store={store}> |
|||
<HelmetProvider> |
|||
<DndProvider backend={HTML5Backend}> |
|||
<App /> |
|||
</DndProvider> |
|||
</HelmetProvider> |
|||
<ThemeProvider theme={theme}> |
|||
<HelmetProvider> |
|||
<DndProvider backend={HTML5Backend}> |
|||
<App /> |
|||
</DndProvider> |
|||
</HelmetProvider> |
|||
</ThemeProvider> |
|||
</Provider>, |
|||
document.getElementById('root') |
|||
); |
|||
|
@ -0,0 +1,3 @@ |
|||
export const theme = { |
|||
main: '#1179ac', |
|||
}; |
Loading…
Reference in new issue