about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/account_timeline/components/header.js
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-06-27 18:07:21 +0200
committerGitHub <noreply@github.com>2017-06-27 18:07:21 +0200
commit12e7c81dd8739a0f83513054c0fda22e098e2458 (patch)
tree9f9e47ba1c1d5d116e49d71f1749b82ad77a872a /app/javascript/mastodon/features/account_timeline/components/header.js
parent16d0aed403485e5a98afd9cbf7e35bb929443731 (diff)
Turn report screen into a modal (#3965)
Diffstat (limited to 'app/javascript/mastodon/features/account_timeline/components/header.js')
-rw-r--r--app/javascript/mastodon/features/account_timeline/components/header.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/account_timeline/components/header.js b/app/javascript/mastodon/features/account_timeline/components/header.js
index 7f80e39e8..167a2097e 100644
--- a/app/javascript/mastodon/features/account_timeline/components/header.js
+++ b/app/javascript/mastodon/features/account_timeline/components/header.js
@@ -38,7 +38,6 @@ export default class Header extends ImmutablePureComponent {
 
   handleReport = () => {
     this.props.onReport(this.props.account);
-    this.context.router.history.push('/report');
   }
 
   handleMute = () => {