about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/directory
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-01-22 16:26:47 +0100
committerEugen Rochko <eugen@zeonfederated.com>2020-01-22 16:26:47 +0100
commitec3ee675640fa441b9113d69b743ee22e107002b (patch)
treec48a17fa753e68377dd5144d853db79ab825379a /app/javascript/mastodon/features/directory
parent40852b84bd896fd2f81e8f7dd45f70b121ba70fd (diff)
Fix unfollow confirmations in account directory (#12922)
Fixes #12921
Diffstat (limited to 'app/javascript/mastodon/features/directory')
-rw-r--r--app/javascript/mastodon/features/directory/components/account_card.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/directory/components/account_card.js b/app/javascript/mastodon/features/directory/components/account_card.js
index 50ad74450..cb47d9db4 100644
--- a/app/javascript/mastodon/features/directory/components/account_card.js
+++ b/app/javascript/mastodon/features/directory/components/account_card.js
@@ -22,6 +22,7 @@ const messages = defineMessages({
   requested: { id: 'account.requested', defaultMessage: 'Awaiting approval' },
   unblock: { id: 'account.unblock', defaultMessage: 'Unblock @{name}' },
   unmute: { id: 'account.unmute', defaultMessage: 'Unmute @{name}' },
+  unfollowConfirm: { id: 'confirmations.unfollow.confirm', defaultMessage: 'Unfollow' },
 });
 
 const makeMapStateToProps = () => {