Use key instead

This commit is contained in:
Jori Lallo
2017-12-03 20:56:45 -08:00
parent 42d5686182
commit 564748cfc0
2 changed files with 1 additions and 12 deletions

View File

@@ -217,7 +217,7 @@ class DocumentScene extends Component {
return (
<Container column auto>
<ErrorBoundary location={this.props.location}>
<ErrorBoundary key={this.props.location.pathname}>
{isMoving && document && <DocumentMove document={document} />}
{titleText && <PageTitle title={titleText} />}
{(this.isLoading || this.isSaving) && <LoadingIndicator />}