Cleaning up action names and compose drawer

This commit is contained in:
Eugen Rochko
2016-08-31 16:15:12 +02:00
parent 92afd29650
commit 72591cc6d5
29 changed files with 468 additions and 151 deletions

View File

@@ -1,10 +1,14 @@
import ImmutablePropTypes from 'react-immutable-proptypes';
import PureRenderMixin from 'react-addons-pure-render-mixin';
const DisplayName = React.createClass({
propTypes: {
account: ImmutablePropTypes.map.isRequired
},
mixins: [PureRenderMixin],
render () {
var displayName = this.props.account.get('display_name', this.props.account.get('username'));
var acct = this.props.account.get('acct');