diff --git a/app/javascript/mastodon/features/bookmark_categories/index.jsx b/app/javascript/mastodon/features/bookmark_categories/index.jsx index a3615335f1..21ec0c8c27 100644 --- a/app/javascript/mastodon/features/bookmark_categories/index.jsx +++ b/app/javascript/mastodon/features/bookmark_categories/index.jsx @@ -81,7 +81,7 @@ class BookmarkCategories extends ImmutablePureComponent { bindToDocument={!multiColumn} > {categories.map(category => - , + , )} diff --git a/app/javascript/mastodon/features/emoji_reactions/index.jsx b/app/javascript/mastodon/features/emoji_reactions/index.jsx index 2140238499..23ea30f8cd 100644 --- a/app/javascript/mastodon/features/emoji_reactions/index.jsx +++ b/app/javascript/mastodon/features/emoji_reactions/index.jsx @@ -8,6 +8,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { connect } from 'react-redux'; +import { ReactComponent as RefreshIcon } from '@material-symbols/svg-600/outlined/refresh.svg'; import { debounce } from 'lodash'; import { fetchEmojiReactions, expandEmojiReactions } from 'mastodon/actions/interactions'; @@ -18,6 +19,7 @@ import AccountContainer from 'mastodon/containers/account_container'; import Column from 'mastodon/features/ui/components/column'; + import EmojiView from '../../components/emoji_view'; import { LoadingIndicator } from '../../components/loading_indicator'; @@ -86,7 +88,7 @@ class EmojiReactions extends ImmutablePureComponent { showBackButton multiColumn={multiColumn} extraButton={( - + )} /> diff --git a/app/javascript/mastodon/features/status/components/detailed_status.jsx b/app/javascript/mastodon/features/status/components/detailed_status.jsx index 9313d9bf27..3eac8cc695 100644 --- a/app/javascript/mastodon/features/status/components/detailed_status.jsx +++ b/app/javascript/mastodon/features/status/components/detailed_status.jsx @@ -293,7 +293,7 @@ class DetailedStatus extends ImmutablePureComponent { ); } - if (this.context.router) { + if (this.props.history) { emojiReactionsLink = ( @@ -313,7 +313,7 @@ class DetailedStatus extends ImmutablePureComponent { ); } - if (this.context.router) { + if (this.props.history) { statusReferencesLink = ( diff --git a/app/javascript/mastodon/features/status_references/index.jsx b/app/javascript/mastodon/features/status_references/index.jsx index 3ba127cdd8..480207a5d8 100644 --- a/app/javascript/mastodon/features/status_references/index.jsx +++ b/app/javascript/mastodon/features/status_references/index.jsx @@ -8,6 +8,8 @@ import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { connect } from 'react-redux'; +import { ReactComponent as RefreshIcon } from '@material-symbols/svg-600/outlined/refresh.svg'; + import { fetchStatusReferences } from 'mastodon/actions/interactions'; import ColumnHeader from 'mastodon/components/column_header'; import { Icon } from 'mastodon/components/icon'; @@ -16,6 +18,7 @@ import ScrollableList from 'mastodon/components/scrollable_list'; import StatusContainer from 'mastodon/containers/status_container'; import Column from 'mastodon/features/ui/components/column'; + const messages = defineMessages({ refresh: { id: 'refresh', defaultMessage: 'Refresh' }, }); @@ -69,7 +72,7 @@ class StatusReferences extends ImmutablePureComponent { showBackButton multiColumn={multiColumn} extraButton={( - + )} />