diff options
| -rw-r--r-- | src/store/form/reducers.ts | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/store/form/reducers.ts b/src/store/form/reducers.ts index 21bd047..d7d3388 100644 --- a/src/store/form/reducers.ts +++ b/src/store/form/reducers.ts @@ -9,7 +9,7 @@ export const initialState: FormState = {  };  export function formReducer(state = initialState, action: Action): FormState { -    const new_state = state; +    const new_state = {...state};      switch (action.type) {          case FormAction.SET_VALUE:              new_state.values.set(action.payload.question.id, action.payload.value); | 
