Fixing last couple of auth dialogs
This commit is contained in:
@@ -6,15 +6,15 @@ import { sizeInfo } from 'ui/style'
|
||||
export class Home extends Component {
|
||||
static propTypes = {
|
||||
history: PropTypes.object,
|
||||
onChangeTitle: PropTypes.func.isRequired,
|
||||
changeTitle: PropTypes.func.isRequired,
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
this.props.onChangeTitle('Home')
|
||||
this.props.changeTitle('Home')
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
this.props.onChangeTitle('')
|
||||
this.props.changeTitle('')
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user