mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-16 16:00:45 -04:00
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 = {
|
||||
...state.hikesApp,
|
||||
currentQuestion: currentQuestion + 1,
|
||||
mouse: [ userAnswer ? 1000 : -1000, 0]
|
||||
mouse: [ userAnswer ? 1000 : -1000, 0],
|
||||
isPressed: false
|
||||
};
|
||||
|
||||
return { ...state, hikesApp };
|
||||
|
||||
Reference in New Issue
Block a user