mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-22 18:23:18 +00:00
Adding sense of self to the UI, cleaning up routing, adding third (detail) column
This commit is contained in:
parent
d6a64f45fd
commit
2e7aac793a
16 changed files with 160 additions and 49 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
import PureRenderMixin from 'react-addons-pure-render-mixin';
|
||||
|
||||
const DisplayName = React.createClass({
|
||||
|
||||
|
|
@ -6,6 +7,8 @@ const DisplayName = React.createClass({
|
|||
account: ImmutablePropTypes.map.isRequired
|
||||
},
|
||||
|
||||
mixins: [PureRenderMixin],
|
||||
|
||||
render () {
|
||||
let displayName = this.props.account.get('display_name');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue