Skip to content

Instantly share code, notes, and snippets.

@cazala
Last active July 25, 2018 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cazala/6b3e1ed7847af70eb8ace6f5a2f5dd26 to your computer and use it in GitHub Desktop.
Save cazala/6b3e1ed7847af70eb8ace6f5a2f5dd26 to your computer and use it in GitHub Desktop.
  renderBoard() {
     return (
       <entity
         position={{
           x: 1.5,
           y: 0,
           z: 1.5
         }}
       >
         {store.getState().squares.map(this.renderSquare)}
+        {this.renderMessage()}
       </entity>
     )
   }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment