From 258b5464a2ac1028b884aa3bffc81c9947b545c3 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 19 Jan 2019 01:52:43 -0800 Subject: [PATCH] Boop --- app/scenes/Document/Document.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scenes/Document/Document.js b/app/scenes/Document/Document.js index 0717c26c..a62e2d33 100644 --- a/app/scenes/Document/Document.js +++ b/app/scenes/Document/Document.js @@ -172,7 +172,7 @@ class DocumentScene extends React.Component { props.match.url, document.url ); - if (this.props.location !== canonicalUrl) { + if (this.props.location.pathname !== canonicalUrl) { this.props.history.replace(canonicalUrl); } }