@ -6,7 +6,7 @@ import DisplayName from '../../../components/display_name';
import StatusContent from '../../../components/status_content' ;
import MediaGallery from '../../../components/media_gallery' ;
import { Link } from 'react-router-dom' ;
import { FormattedDate , FormattedNumber } from 'react-intl' ;
import { FormattedDate } from 'react-intl' ;
import Card from './card' ;
import ImmutablePureComponent from 'react-immutable-pure-component' ;
import Video from '../../video' ;
@ -14,6 +14,7 @@ import Audio from '../../audio';
import scheduleIdleTask from '../../ui/util/schedule_idle_task' ;
import classNames from 'classnames' ;
import Icon from 'mastodon/components/icon' ;
import AnimatedNumber from 'mastodon/components/animated_number' ;
export default class DetailedStatus extends ImmutablePureComponent {
@ -172,7 +173,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
< Link to = { ` /statuses/ ${ status . get ( 'id' ) } /reblogs ` } className = 'detailed-status__link' >
< Icon id = { reblogIcon } / >
< span className = 'detailed-status__reblogs' >
< Format tedNumber value = { status . get ( 'reblogs_count' ) } / >
< Anima tedNumber value = { status . get ( 'reblogs_count' ) } / >
< / s p a n >
< / L i n k >
) ;
@ -181,7 +182,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
< a href = { ` /interact/ ${ status . get ( 'id' ) } ?type=reblog ` } className = 'detailed-status__link' onClick = { this . handleModalLink } >
< Icon id = { reblogIcon } / >
< span className = 'detailed-status__reblogs' >
< Format tedNumber value = { status . get ( 'reblogs_count' ) } / >
< Anima tedNumber value = { status . get ( 'reblogs_count' ) } / >
< / s p a n >
< / a >
) ;
@ -192,7 +193,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
< Link to = { ` /statuses/ ${ status . get ( 'id' ) } /favourites ` } className = 'detailed-status__link' >
< Icon id = 'star' / >
< span className = 'detailed-status__favorites' >
< Format tedNumber value = { status . get ( 'favourites_count' ) } / >
< Anima tedNumber value = { status . get ( 'favourites_count' ) } / >
< / s p a n >
< / L i n k >
) ;
@ -201,7 +202,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
< a href = { ` /interact/ ${ status . get ( 'id' ) } ?type=favourite ` } className = 'detailed-status__link' onClick = { this . handleModalLink } >
< Icon id = 'star' / >
< span className = 'detailed-status__favorites' >
< Format tedNumber value = { status . get ( 'favourites_count' ) } / >
< Anima tedNumber value = { status . get ( 'favourites_count' ) } / >
< / s p a n >
< / a >
) ;