Fix broken “mute” button in mutes list (#31315)

pull/31318/head
Claire 8 months ago committed by GitHub
parent 57a1f86626
commit 30430a62e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -106,7 +106,7 @@ const Account = ({ size = 46, account, onFollow, onBlock, onMute, onMuteNotifica
</>
);
} else if (defaultAction === 'mute') {
buttons = <Button title={intl.formatMessage(messages.mute)} onClick={handleMute} />;
buttons = <Button text={intl.formatMessage(messages.mute)} onClick={handleMute} />;
} else if (defaultAction === 'block') {
buttons = <Button text={intl.formatMessage(messages.block)} onClick={handleBlock} />;
} else if (!account.get('suspended') && !account.get('moved') || following) {

Loading…
Cancel
Save