From 8b2261595313ebae338acfffc96887d33b2773bc Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Sun, 17 Dec 2017 16:27:23 -0800 Subject: [PATCH] Rename updated --- app/scenes/Settings/Settings.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/scenes/Settings/Settings.js b/app/scenes/Settings/Settings.js index c5fa7427d..14a8561d4 100644 --- a/app/scenes/Settings/Settings.js +++ b/app/scenes/Settings/Settings.js @@ -26,7 +26,7 @@ class Settings extends Component { @observable name: string; @observable avatarUrl: ?string; - @observable updated: boolean; + @observable isUpdated: boolean; @observable isSaving: boolean; componentDidMount() { @@ -52,8 +52,8 @@ class Settings extends Component { const { data } = res; runInAction('Settings#handleSubmit', () => { this.props.auth.user = data; - this.updated = true; - this.timeout = setTimeout(() => (this.updated = false), 2500); + this.isUpdated = true; + this.timeout = setTimeout(() => (this.isUpdated = false), 2500); }); } catch (e) { this.props.errors.add('Failed to load documents'); @@ -107,7 +107,7 @@ class Settings extends Component { - + Profile updated!