Created
July 25, 2018 15:28
-
-
Save cazala/1b0680baef3353a6504490feaf55c4d8 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
this.eventSubscriber.on('click', event => { | |
const { elementId } = event.data | |
const state = store.getState() | |
const { | |
game: { whiteTurn }, | |
match: { playerWhite, playerBlack } | |
} = state |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment