Skip to content

Commit 309d3a6

Browse files
committed
fix eslint
1 parent e8e92e8 commit 309d3a6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

client/components/Project/ProjectDetail.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class ProjectDetail extends Component {
3131
}
3232

3333
render () {
34-
const project = this.props.project || {};
35-
const applications = project.applications || [];
34+
const project = this.props.project || {}
35+
const applications = project.applications || []
3636
return applications.length === 0 ? (
3737
<div>
3838
<h1>No one had applied this project</h1>
@@ -56,16 +56,16 @@ class ProjectDetail extends Component {
5656

5757
const mapDispatchToProps = {
5858
fetchProjectById: ProjectActionCreator.fetchProjectById
59-
};
59+
}
6060

6161
const mapStateToProperties = (state) => {
6262
return {project: state.project.project || {}}
63-
};
63+
}
6464

6565
ProjectDetail.propTypes = {
6666
project: PropTypes.object,
6767
fetchProjectById: PropTypes.func,
6868
match: PropTypes.object
69-
};
69+
}
7070

7171
export default connect(mapStateToProperties, mapDispatchToProps)(ProjectDetail)

0 commit comments

Comments
 (0)