Merge pull request #38 from Bouncey/feat/codeStorage
Feat: Add code storage and lesson reset modal
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
68eefa5565
commit
bb6b3869ed
@@ -28,12 +28,10 @@ const mapDispatchToProps = function(dispatch) {
|
||||
close: () => dispatch(closeModal('completion')),
|
||||
handleKeypress: e => {
|
||||
if (e.keyCode === 13 && (e.ctrlKey || e.metaKey)) {
|
||||
console.log('dispatching');
|
||||
dispatch(submitChallenge());
|
||||
}
|
||||
},
|
||||
submitChallenge: () => {
|
||||
console.log('dispatching');
|
||||
dispatch(submitChallenge());
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user