fixed title not updating correctly

This commit is contained in:
Absurdon 2016-04-06 17:53:37 +02:00 committed by Chris Blanchard
parent dae46a579c
commit bba685d080

View file

@ -364,10 +364,10 @@ const GatherPage = React.createClass({
onGatherSelected(gatherName) {
let gather = this.state.gatherPool[gatherName];
if (gather === undefined) return;
this.updateTitle();
this.setState({
currentGather: gather.type
});
this.updateTitle();
},
render() {