Skip to content

Commit

Permalink
2nd step: Link Game Component with the DOM.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrcel97 committed Aug 21, 2018
1 parent fbc8696 commit 75c1b5c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,10 @@ class Game extends React.Component {
);
}
}

// ==================================

ReactDOM.render(
<Game />, // Load Game component into DOM
document.getElementById('root')
)

0 comments on commit 75c1b5c

Please sign in to comment.