diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-07-07 01:24:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 01:24:03 +0200 |
commit | c3187411c26aa00eb5844e4a7f9889f2cb19867e (patch) | |
tree | aa5b0676119c27d73680c5e7dd0d709ebbaaadde /app/javascript/mastodon/features/account_timeline | |
parent | 83fd046107999cc8ce166c997afee74409359002 (diff) |
Change design of account notes in web UI (#14208)
* Change design of account notes in web UI * Fix `for` -> `htmlFor`
Diffstat (limited to 'app/javascript/mastodon/features/account_timeline')
-rw-r--r-- | app/javascript/mastodon/features/account_timeline/containers/header_container.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/javascript/mastodon/features/account_timeline/containers/header_container.js b/app/javascript/mastodon/features/account_timeline/containers/header_container.js index e480fb2aa..8728b4806 100644 --- a/app/javascript/mastodon/features/account_timeline/containers/header_container.js +++ b/app/javascript/mastodon/features/account_timeline/containers/header_container.js @@ -19,7 +19,6 @@ import { initBlockModal } from '../../../actions/blocks'; import { initReport } from '../../../actions/reports'; import { openModal } from '../../../actions/modal'; import { blockDomain, unblockDomain } from '../../../actions/domain_blocks'; -import { initEditAccountNote } from 'mastodon/actions/account_notes'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import { unfollowModal } from '../../../initial_state'; import { List as ImmutableList } from 'immutable'; @@ -103,10 +102,6 @@ const mapDispatchToProps = (dispatch, { intl }) => ({ } }, - onEditAccountNote (account) { - dispatch(initEditAccountNote(account)); - }, - onBlockDomain (domain) { dispatch(openModal('CONFIRM', { message: <FormattedMessage id='confirmations.domain_block.message' defaultMessage='Are you really, really sure you want to block the entire {domain}? In most cases a few targeted blocks or mutes are sufficient and preferable. You will not see content from that domain in any public timelines or your notifications. Your followers from that domain will be removed.' values={{ domain: <strong>{domain}</strong> }} />, |