fix: UI flash when loading history sidebar
This commit is contained in:
parent
a600a897c3
commit
37be7f99c4
|
@ -143,7 +143,7 @@ class Layout extends React.Component<Props> {
|
||||||
{this.props.children}
|
{this.props.children}
|
||||||
</Content>
|
</Content>
|
||||||
|
|
||||||
<React.Suspense>
|
<React.Suspense fallback={null}>
|
||||||
<Switch>
|
<Switch>
|
||||||
<Route
|
<Route
|
||||||
path={`/doc/${slug}/history/:revisionId?`}
|
path={`/doc/${slug}/history/:revisionId?`}
|
||||||
|
|
Reference in New Issue