Code cleanup

This commit is contained in:
manubo
2019-09-24 10:45:49 +02:00
parent 6b89191d3f
commit c9e6189fd5
5 changed files with 27 additions and 33 deletions

View File

@@ -10,6 +10,7 @@ class Form extends Component {
billable: PropTypes.bool.isRequired,
date: PropTypes.string.isRequired,
task_id: PropTypes.number.isRequired,
description: PropTypes.string,
remote_id: PropTypes.string,
remote_service: PropTypes.string,
remote_url: PropTypes.string,
@@ -41,7 +42,7 @@ class Form extends Component {
}
render() {
const { projects, changeset, timedActivity, errors, onChange, onSubmit } = this.props
const { projects, changeset, errors, onChange, onSubmit } = this.props
const project = Select.findOptionByValue(projects, changeset.assignment_id)
return (