Fix: 詳細画面のリンク、ブクマ分類のリンク、アイコン (#200)
This commit is contained in:
parent
a679c5473e
commit
624ccce042
4 changed files with 10 additions and 5 deletions
|
@ -293,7 +293,7 @@ class DetailedStatus extends ImmutablePureComponent {
|
|||
);
|
||||
}
|
||||
|
||||
if (this.context.router) {
|
||||
if (this.props.history) {
|
||||
emojiReactionsLink = (
|
||||
<Link to={`/@${status.getIn(['account', 'acct'])}/${status.get('id')}/emoji_reactions`} className='detailed-status__link'>
|
||||
<Icon id='smile-o' icon={EmojiReactionIcon} />
|
||||
|
@ -313,7 +313,7 @@ class DetailedStatus extends ImmutablePureComponent {
|
|||
);
|
||||
}
|
||||
|
||||
if (this.context.router) {
|
||||
if (this.props.history) {
|
||||
statusReferencesLink = (
|
||||
<Link to={`/@${status.getIn(['account', 'acct'])}/${status.get('id')}/references`} className='detailed-status__link'>
|
||||
<Icon id='link' icon={ReferenceIcon} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue