Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2355cbf

Browse files
committedJun 12, 2019
issue 2435 fix
1 parent 929b35b commit 2355cbf

File tree

3 files changed

+24
-23
lines changed

3 files changed

+24
-23
lines changed
 

‎dist/dev/index.js

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/prod/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/components/AccountMenu/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import IconAvatar from '../../assets/images/img-vic-tor-avatar.svg'
77
import IconCloseDark from '../../assets/images/icon-close-dark.svg'
88
import IconSwitchBusiness from '../../assets/images/icon-switch-business.svg'
99
import styles from './styles.module.scss'
10+
import moment from 'moment'
1011

1112
class AccountMenu extends React.Component {
1213
renderLink (menu, i) {
@@ -57,7 +58,7 @@ class AccountMenu extends React.Component {
5758
}
5859
<div className={styles['handle-container']}>
5960
<span className={styles['handle']}>@{_.isEmpty(profile) ? '' : profile.handle}</span>
60-
<span className={styles['description']}>{_.isEmpty(profile) ? '' : profile.description}</span>
61+
<span className={styles['description']}>{_.isEmpty(profile) ? '' : `Member since ${moment(profile.createdAt).format('MMMM, YYYY')}`}</span>
6162
</div>
6263
</div>
6364
<span role='button' className={styles['icon-close']} onClick={onClose}>

0 commit comments

Comments
 (0)
Please sign in to comment.