From 35f6255dbd8e1a281da3e070e4fbcabd457f8627 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 28 May 2018 22:58:57 -0700 Subject: [PATCH] Settings -> Profile --- app/components/Sidebar/Settings.js | 3 +++ app/scenes/Settings/{Settings.js => Profile.js} | 4 ++-- app/scenes/Settings/index.js | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) rename app/scenes/Settings/{Settings.js => Profile.js} (97%) diff --git a/app/components/Sidebar/Settings.js b/app/components/Sidebar/Settings.js index 2f20c6d70..1ba89eae2 100644 --- a/app/components/Sidebar/Settings.js +++ b/app/components/Sidebar/Settings.js @@ -54,6 +54,9 @@ class SettingsSidebar extends React.Component {
Team
+ }> + Details + }> Members diff --git a/app/scenes/Settings/Settings.js b/app/scenes/Settings/Profile.js similarity index 97% rename from app/scenes/Settings/Settings.js rename to app/scenes/Settings/Profile.js index aeeedb5f9..80c3b81ea 100644 --- a/app/scenes/Settings/Settings.js +++ b/app/scenes/Settings/Profile.js @@ -22,7 +22,7 @@ type Props = { }; @observer -class Settings extends React.Component { +class Profile extends React.Component { timeout: TimeoutID; @observable name: string; @@ -166,4 +166,4 @@ const StyledInput = styled(Input)` max-width: 350px; `; -export default inject('auth', 'errors')(Settings); +export default inject('auth', 'errors')(Profile); diff --git a/app/scenes/Settings/index.js b/app/scenes/Settings/index.js index c0492da1c..c1e3920e0 100644 --- a/app/scenes/Settings/index.js +++ b/app/scenes/Settings/index.js @@ -1,3 +1,3 @@ // @flow -import Settings from './Settings'; -export default Settings; +import Profile from './Profile'; +export default Profile;