Settings -> Profile

This commit is contained in:
Tom Moor
2018-05-28 22:58:57 -07:00
parent aa9ed09f08
commit 35f6255dbd
3 changed files with 7 additions and 4 deletions

View File

@@ -54,6 +54,9 @@ class SettingsSidebar extends React.Component<Props> {
</Section>
<Section>
<Header>Team</Header>
<SidebarLink to="/settings/details" icon={<SettingsIcon />}>
Details
</SidebarLink>
<SidebarLink to="/settings/members" icon={<UserIcon />}>
Members
</SidebarLink>

View File

@@ -22,7 +22,7 @@ type Props = {
};
@observer
class Settings extends React.Component<Props> {
class Profile extends React.Component<Props> {
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);

View File

@@ -1,3 +1,3 @@
// @flow
import Settings from './Settings';
export default Settings;
import Profile from './Profile';
export default Profile;