Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Capitalize menu items of the auth block in the header
Browse files Browse the repository at this point in the history
  • Loading branch information
artkravchenko committed Dec 5, 2017
1 parent 378807c commit c557658
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/auth-block.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ import Avatar from './user/avatar';

const menuItems = username => ([
{ key: 'profile',
node: <Link to={getUrl(URL_NAMES.USER, { username })}>My profile</Link> },
node: <Link to={getUrl(URL_NAMES.USER, { username })}>My Profile</Link> },
{ key: 'settings',
node: <Link to={getUrl(URL_NAMES.SETTINGS)}>Profile settings</Link> },
node: <Link to={getUrl(URL_NAMES.SETTINGS)}>Profile Settings</Link> },
{ key: 'logout',
node: (
<form action={`${API_HOST}/api/v1/logout`} method="post">
<button
className="button button-transparent button-wide button-caption_left"
type="submit"
>Log out</button>
>Log Out</button>
</form>
) }
]);
Expand Down

0 comments on commit c557658

Please sign in to comment.