Fix question move bug
Would cause question to change immediately before answering was complete
This commit is contained in:
@ -188,7 +188,8 @@ export default Actions({
|
|||||||
const hikesApp = {
|
const hikesApp = {
|
||||||
...state.hikesApp,
|
...state.hikesApp,
|
||||||
currentQuestion: currentQuestion + 1,
|
currentQuestion: currentQuestion + 1,
|
||||||
mouse: [ userAnswer ? 1000 : -1000, 0]
|
mouse: [ userAnswer ? 1000 : -1000, 0],
|
||||||
|
isPressed: false
|
||||||
};
|
};
|
||||||
|
|
||||||
return { ...state, hikesApp };
|
return { ...state, hikesApp };
|
||||||
|
Reference in New Issue
Block a user