mirror of
https://github.com/outline/outline.git
synced 2026-11-29 00:29:36 +03:00
Fixed page title while loading
This commit is contained in:
1 parent
6eecd830db
commit
b7dd74fb6c
1 file changed
+3
-6
@@ -117,13 +117,10 @@ type Props = {
|
||||
);
|
||||
|
||||
return (
|
||||
<Container flex column>
|
||||
<Container column auto>
|
||||
{titleText && <PageTitle title={titleText} />}
|
||||
<Prompt when={this.store.hasPendingChanges} message={DISCARD_CHANGES} />
|
||||
<PagePadding auto justify="center">
|
||||
<PageTitle title={titleText} />
|
||||
<Prompt
|
||||
when={this.store.hasPendingChanges}
|
||||
message={DISCARD_CHANGES}
|
||||
/>
|
||||
{this.store.isFetching &&
|
||||
<CenteredContent>
|
||||
<PreviewLoading />
|
||||
|
||||
Reference in new issue
Block a user