From fad20b7830877b1e5ea923398e1230adfdb2130e Mon Sep 17 00:00:00 2001 From: Neetshin Date: Sun, 24 Dec 2017 08:18:45 +0000 Subject: [PATCH] Add validation for onMuteNotifications (#6092) * Add aria-autocomplete='list' in Textaria ref: https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete * Make detect empty string brefore assign upload description * Change code elements in keyboard-shortcuts component to kbd * Add validation for onMuteNotifications --- app/javascript/mastodon/components/account.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/mastodon/components/account.js b/app/javascript/mastodon/components/account.js index b0479db4f3..81459731c7 100644 --- a/app/javascript/mastodon/components/account.js +++ b/app/javascript/mastodon/components/account.js @@ -27,6 +27,7 @@ export default class Account extends ImmutablePureComponent { onFollow: PropTypes.func.isRequired, onBlock: PropTypes.func.isRequired, onMute: PropTypes.func.isRequired, + onMuteNotifications: PropTypes.func.isRequired, intl: PropTypes.object.isRequired, hidden: PropTypes.bool, };