handle fetching state on downloads and publishes pages #1593
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class Page extends React.PureComponent<Props, State> {
|
||||||
|
|
||||||
// We don't want to show the loading spinner right away if it will only flash on the
|
// We don't want to show the loading spinner right away if it will only flash on the
|
||||||
// screen for a short time, wait until we know it will be loading for a bit before showing it
|
// screen for a short time, wait until we know it will be loading for a bit before showing it
|
||||||
const shouldShowLoader = !isShowingChildren(children) && showLoader;
|
const shouldShowLoader = loading || (!isShowingChildren(children) && showLoader);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<main
|
<main
|
||||||
|
|
Loading…
Reference in a new issue