Progress
This commit is contained in:
parent
f6fe64cb53
commit
2b61a7c067
@ -64,7 +64,7 @@ class Comment extends ImmutablePureComponent {
|
|||||||
<Avatar account={status.get('account')} size={32} />
|
<Avatar account={status.get('account')} size={32} />
|
||||||
</NavLink>
|
</NavLink>
|
||||||
|
|
||||||
<div className={[_s.default, _s.flexGrow1].join(' ')}>
|
<div className={[_s.default, _s.flexNormal].join(' ')}>
|
||||||
<div className={[_s.default, _s.px10, _s.py5, _s.radiusSmall, _s.backgroundSubtle].join(' ')}>
|
<div className={[_s.default, _s.px10, _s.py5, _s.radiusSmall, _s.backgroundSubtle].join(' ')}>
|
||||||
<div className={_s.pt2}>
|
<div className={_s.pt2}>
|
||||||
<CommentHeader status={status} />
|
<CommentHeader status={status} />
|
||||||
|
@ -3,7 +3,6 @@ import { NavLink } from 'react-router-dom'
|
|||||||
import ImmutablePropTypes from 'react-immutable-proptypes'
|
import ImmutablePropTypes from 'react-immutable-proptypes'
|
||||||
import { defineMessages, injectIntl } from 'react-intl'
|
import { defineMessages, injectIntl } from 'react-intl'
|
||||||
import ImmutablePureComponent from 'react-immutable-pure-component'
|
import ImmutablePureComponent from 'react-immutable-pure-component'
|
||||||
import Avatar from './avatar'
|
|
||||||
import Button from './button'
|
import Button from './button'
|
||||||
import DisplayName from './display_name'
|
import DisplayName from './display_name'
|
||||||
import DotTextSeperator from './dot_text_seperator'
|
import DotTextSeperator from './dot_text_seperator'
|
||||||
|
@ -21,9 +21,6 @@ const messages = defineMessages({
|
|||||||
})
|
})
|
||||||
|
|
||||||
const mapStateToProps = (state, { params }) => {
|
const mapStateToProps = (state, { params }) => {
|
||||||
|
|
||||||
console.log('params:', params)
|
|
||||||
|
|
||||||
const groupId = isObject(params) ? params['id'] : null
|
const groupId = isObject(params) ? params['id'] : null
|
||||||
const group = state.getIn(['groups', groupId])
|
const group = state.getIn(['groups', groupId])
|
||||||
|
|
||||||
@ -64,6 +61,7 @@ class Create extends ImmutablePureComponent {
|
|||||||
intl: PropTypes.object.isRequired,
|
intl: PropTypes.object.isRequired,
|
||||||
onTitleChange: PropTypes.func.isRequired,
|
onTitleChange: PropTypes.func.isRequired,
|
||||||
onSubmit: PropTypes.func.isRequired,
|
onSubmit: PropTypes.func.isRequired,
|
||||||
|
onCloseModal: PropTypes.func,
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillMount() {
|
componentWillMount() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user