File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
client/components/Project Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ class ProjectDetail extends Component {
31
31
}
32
32
33
33
render ( ) {
34
- const project = this . props . project || { } ;
35
- const applications = project . applications || [ ] ;
34
+ const project = this . props . project || { }
35
+ const applications = project . applications || [ ]
36
36
return applications . length === 0 ? (
37
37
< div >
38
38
< h1 > No one had applied this project</ h1 >
@@ -56,16 +56,16 @@ class ProjectDetail extends Component {
56
56
57
57
const mapDispatchToProps = {
58
58
fetchProjectById : ProjectActionCreator . fetchProjectById
59
- } ;
59
+ }
60
60
61
61
const mapStateToProperties = ( state ) => {
62
62
return { project : state . project . project || { } }
63
- } ;
63
+ }
64
64
65
65
ProjectDetail . propTypes = {
66
66
project : PropTypes . object ,
67
67
fetchProjectById : PropTypes . func ,
68
68
match : PropTypes . object
69
- } ;
69
+ }
70
70
71
71
export default connect ( mapStateToProperties , mapDispatchToProps ) ( ProjectDetail )
You can’t perform that action at this time.
0 commit comments