Last active
October 30, 2019 08:23
-
-
Save tfiechowski/c649c0088d20c918687451cb27dc9443 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { DndProvider } from "react-dnd"; | |
import HTML5Backend from "react-dnd-html5-backend"; | |
import ReactDOM from "react-dom"; | |
import App from "./App"; | |
import { GridProvider } from "./GridContext"; | |
ReactDOM.render( | |
<DndProvider backend={HTML5Backend}> | |
<GridProvider> | |
<App /> | |
</GridProvider> | |
</DndProvider>, | |
document.getElementById("root") | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment