Merge pull request #39 from Bouncey/fix/completiongModal
All challenge views use CompletionModal
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
bb6b3869ed
commit
71e7026212
@@ -10,7 +10,8 @@ import {
|
||||
|
||||
const propTypes = {
|
||||
isFrontEnd: PropTypes.bool,
|
||||
isSubmitting: PropTypes.bool
|
||||
isSubmitting: PropTypes.bool,
|
||||
openModal: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
const frontEndFields = ['solution'];
|
||||
@@ -35,6 +36,7 @@ const options = {
|
||||
|
||||
export class ProjectForm extends PureComponent {
|
||||
handleSubmit = values => {
|
||||
this.props.openModal('completion');
|
||||
console.log(values);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user