diff --git a/src/ts/@overflow/app/views/layout/TitleBar.tsx b/src/ts/@overflow/app/views/layout/TitleBar.tsx index d4243d6..bca1e7a 100644 --- a/src/ts/@overflow/app/views/layout/TitleBar.tsx +++ b/src/ts/@overflow/app/views/layout/TitleBar.tsx @@ -43,7 +43,8 @@ export class TitleBar extends React.Component { public componentWillUpdate(nextProps: Props, nextState: State): void { if (nextProps !== this.props) { - if (!this.props.history.location.pathname) { + + if (!this.props.history) { return; } let last = this.props.history.location.pathname.split('/').pop().toLowerCase();