We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18c5d5b commit 1ed165cCopy full SHA for 1ed165c
code/src/components/GameScreen.js
@@ -29,7 +29,7 @@ const GameScreen = ({ inputValue }) => {
29
<div key={index}>
30
<p>{action.description}</p>
31
<button
32
- onClick={onNextDirection()}>
+ onClick={() => dispatch(games.actions.setGameStatus())}>
33
{action.direction}
34
</button>
35
</div>
0 commit comments