faulttttttttttttttt
This commit is contained in:
parent
e3e1b8f411
commit
b6a028c6d8
|
@ -43,7 +43,8 @@ export class TitleBar extends React.Component<Props, State> {
|
|||
|
||||
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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user