Wasn't staged :/
This commit is contained in:
@@ -63,11 +63,10 @@ const Writing: React.FC<Props> = ({ sectionId, exercise, module, index }) => {
|
||||
});
|
||||
}
|
||||
},
|
||||
onEdit: ()=> {},
|
||||
onPractice: () => {
|
||||
const newState = {
|
||||
...state,
|
||||
//isPractice: !isPractice,
|
||||
isPractice: !local.isPractice
|
||||
};
|
||||
dispatch({ type: 'UPDATE_SECTION_STATE', payload: { sectionId, update: newState, module: currentModule } });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user