Skip to content

Commit c4f9c7c

Browse files
authored
Merge pull request #207 from CodeForSocialGood/Application/#154707979_revised
Revised on the original Application/#154707979
2 parents 829d6df + 309d3a6 commit c4f9c7c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

client/components/Project/ProjectDetail.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,8 @@ import Typography from 'material-ui/Typography'
88
import styles from './ProjectDetail.scss'
99

1010
class ProjectDetail extends Component {
11-
constructor (args) {
12-
super(args)
13-
this.state = {projectId: this.props.match.params.id}
14-
}
15-
1611
componentDidMount () {
17-
this.props.fetchProjectById(this.state.projectId)
12+
this.props.fetchProjectById(this.props.match.params.id)
1813
}
1914

2015
renderApplication (application) {

0 commit comments

Comments
 (0)