Progress
This commit is contained in:
@@ -21,8 +21,8 @@ class CommentHeader extends ImmutablePureComponent {
|
||||
render() {
|
||||
const { status } = this.props
|
||||
|
||||
const repostCount = 12 // status.get('reblogs_count')
|
||||
const favoriteCount = 2 // status.get('favourites_count') // : todo :
|
||||
const repostCount = status.get('reblogs_count')
|
||||
const favoriteCount = status.get('favourites_count')
|
||||
|
||||
const statusUrl = `/${status.getIn(['account', 'acct'])}/posts/${status.get('id')}`;
|
||||
|
||||
|
||||
@@ -63,6 +63,7 @@ import UnderlineIcon from '../assets/underline_icon'
|
||||
import UnlockFilledIcon from '../assets/unlock_filled_icon'
|
||||
import VerifiedIcon from '../assets/verified_icon'
|
||||
import WarningIcon from '../assets/warning_icon'
|
||||
import WebsiteIcon from '../assets/website_icon'
|
||||
|
||||
const ICONS = {
|
||||
'add': AddIcon,
|
||||
@@ -129,6 +130,7 @@ const ICONS = {
|
||||
'unlock-filled': UnlockFilledIcon,
|
||||
'verified': VerifiedIcon,
|
||||
'warning': WarningIcon,
|
||||
'website': WebsiteIcon,
|
||||
'': CircleIcon,
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ class GroupCreateModal extends ImmutablePureComponent {
|
||||
width='440'
|
||||
onClose={onClose}
|
||||
>
|
||||
<GroupCreate />
|
||||
<GroupCreate onCloseModal={onClose} />
|
||||
</ModalLayout>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -219,7 +219,7 @@ export default class Card extends ImmutablePureComponent {
|
||||
} else {
|
||||
embed = (
|
||||
<div className={[_s.default, _s.py15, _s.px15, _s.width72PX, _s.alignItemsCenter, _s.justifyContentCenter].join(' ')}>
|
||||
<Icon id='file-text' width='22px' height='22px' className={_s.fillColorSecondary} />
|
||||
<Icon id='website' width='22px' height='22px' className={_s.fillColorSecondary} />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user