This commit is contained in:
Tom Moor 2019-01-19 01:52:43 -08:00
parent bfd32843ff
commit 258b5464a2
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ class DocumentScene extends React.Component<Props> {
props.match.url,
document.url
);
if (this.props.location !== canonicalUrl) {
if (this.props.location.pathname !== canonicalUrl) {
this.props.history.replace(canonicalUrl);
}
}