This commit is contained in:
mgabdev
2020-04-07 23:22:24 -04:00
parent f866f9d78c
commit f6fe64cb53
5 changed files with 39 additions and 4 deletions

View File

@@ -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')}`;

View File

@@ -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,
}

View File

@@ -25,7 +25,7 @@ class GroupCreateModal extends ImmutablePureComponent {
width='440'
onClose={onClose}
>
<GroupCreate />
<GroupCreate onCloseModal={onClose} />
</ModalLayout>
)
}

View File

@@ -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>
)
}