Fixed page title while loading
This commit is contained in:
@ -117,13 +117,10 @@ type Props = {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Container flex column>
|
<Container column auto>
|
||||||
|
{titleText && <PageTitle title={titleText} />}
|
||||||
|
<Prompt when={this.store.hasPendingChanges} message={DISCARD_CHANGES} />
|
||||||
<PagePadding auto justify="center">
|
<PagePadding auto justify="center">
|
||||||
<PageTitle title={titleText} />
|
|
||||||
<Prompt
|
|
||||||
when={this.store.hasPendingChanges}
|
|
||||||
message={DISCARD_CHANGES}
|
|
||||||
/>
|
|
||||||
{this.store.isFetching &&
|
{this.store.isFetching &&
|
||||||
<CenteredContent>
|
<CenteredContent>
|
||||||
<PreviewLoading />
|
<PreviewLoading />
|
||||||
|
Reference in New Issue
Block a user