Created
January 27, 2019 22:21
-
-
Save 15Dkatz/043532d6e0e677b8c9ccd8d994c70116 to your computer and use it in GitHub Desktop.
This file contains 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
const INITIAL_GAME_STATE = { victory: false, startTime: null, endTime: null }; | |
const [snippet, setSnippet] = useState(''); | |
const [userText, setUserText] = useState(''); | |
const [gameState, setGameState] = useState(INITIAL_GAME_STATE); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment