Boop
This commit is contained in:
@ -172,7 +172,7 @@ class DocumentScene extends React.Component<Props> {
|
|||||||
props.match.url,
|
props.match.url,
|
||||||
document.url
|
document.url
|
||||||
);
|
);
|
||||||
if (this.props.location !== canonicalUrl) {
|
if (this.props.location.pathname !== canonicalUrl) {
|
||||||
this.props.history.replace(canonicalUrl);
|
this.props.history.replace(canonicalUrl);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user