renamed migration to keep in order

This commit is contained in:
Jori Lallo
2017-06-26 23:43:53 -07:00
parent d6b3b680cb
commit e73eec4486
2 changed files with 4 additions and 0 deletions

View File

@@ -129,6 +129,7 @@ type Props = {
<Container column auto>
{titleText && <PageTitle title={titleText} />}
<Prompt when={this.store.hasPendingChanges} message={DISCARD_CHANGES} />
<PagePadding auto justify="center">
{this.store.isFetching
? <CenteredContent>
@@ -152,6 +153,9 @@ type Props = {
onChange={this.store.updateText}
onSave={this.onSave}
onCancel={this.onCancel}
onStar={this.store.starDocument}
onUnstar={this.store.unstarDocument}
starred={this.store.document.starred}
readOnly={!isEditing}
/>
</DocumentContainer>}