Skip to content

Commit a086153

Browse files
committed
Fix resetting state after advancing step.
1 parent 652c1a4 commit a086153

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/book/store.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ export const ranCode = makeAction(
100100

101101
state = {
102102
...state,
103-
..._.pick(initialState, [(
103+
..._.pick(initialState, (
104104
"numHints messages solution " +
105-
"requestingSolution").split(" ")]),
105+
"requestingSolution").split(" ")),
106106
server: value.state,
107107
processing: false,
108108
};

0 commit comments

Comments
 (0)