fix: Links with anchors are broken when pages are renamed

closes #3553
This commit is contained in:
Tom Moor
2022-05-20 09:43:54 +01:00
parent 39e146b4e6
commit 0577c73f06
2 changed files with 2 additions and 1 deletions

View File

@@ -456,6 +456,7 @@ class DocumentScene extends React.Component<Props> {
to={{
pathname: canonicalUrl,
state: this.props.location.state,
hash: this.props.location.hash,
}}
/>
)}