Fix(meta): challenge should use challenge title for page title

This commit is contained in:
Berkeley Martinez
2016-08-05 20:51:52 -07:00
parent a67b090af4
commit 787051862e
2 changed files with 10 additions and 3 deletions

View File

@@ -37,6 +37,11 @@ export class ShowMap extends PureComponent {
};
componentWillMount() {
// if no params then map is open in drawer
// do not update title
if (!this.props.params) {
return;
}
this.props.updateTitle(
'A Map to Learn to Code and Become a Software Engineer'
);