Fix eslint error from prop types

This commit is contained in:
Paul Kaplan committed 2017-09-18 10:04:29 -04:00
1 parent 10586423d6
commit 0cb1fa7cbb
1 file changed
+6 -1
+6 -1
View File
@@ -1,4 +1,5 @@
import React from 'react';
import PropTypes from 'prop-types';
import bindAll from 'lodash.bindall';
import RecordingStepComponent from '../components/record-modal/recording-step.jsx';
import AudioRecorder from '../lib/audio/audio-recorder.js';
@@ -66,6 +67,10 @@ class RecordingStep extends React.Component {
}
}
RecordingStep.propTypes = RecordingStepComponent.propTypes;
RecordingStep.propTypes = {
onRecord: PropTypes.func.isRequired,
onStopRecording: PropTypes.func.isRequired,
recording: PropTypes.bool
};
export default RecordingStep;