Commit 7bd6c98b authored by seotts's avatar seotts Committed by Chris Garrity

Fix proptype of startStep

parent e98e90dd
...@@ -72,6 +72,7 @@ class MuteModal extends React.Component { ...@@ -72,6 +72,7 @@ class MuteModal extends React.Component {
feedback: feedback, feedback: feedback,
comment: this.props.commentContent, comment: this.props.commentContent,
userId: this.props.user.id, userId: this.props.user.id,
username: this.props.user.username,
language: window._locale, language: window._locale,
typeOfMessage: this.props.muteModalMessages.name typeOfMessage: this.props.muteModalMessages.name
} }
...@@ -79,7 +80,6 @@ class MuteModal extends React.Component { ...@@ -79,7 +80,6 @@ class MuteModal extends React.Component {
if (err || res.statusCode !== 200) { if (err || res.statusCode !== 200) {
body = {rejected: 'error'}; body = {rejected: 'error'};
} }
console.log('done');
}); });
this.setState({ this.setState({
...@@ -262,7 +262,7 @@ MuteModal.propTypes = { ...@@ -262,7 +262,7 @@ MuteModal.propTypes = {
onRequestClose: PropTypes.func, onRequestClose: PropTypes.func,
showFeedback: PropTypes.bool, showFeedback: PropTypes.bool,
showWarning: PropTypes.bool, showWarning: PropTypes.bool,
startStep: PropTypes.oneOf(Object.keys(steps)), startStep: PropTypes.number,
timeMuted: PropTypes.string, timeMuted: PropTypes.string,
user: PropTypes.shape({ user: PropTypes.shape({
id: PropTypes.number, id: PropTypes.number,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment