You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
replyMessage: {id: 'confirmations.reply.message',defaultMessage: 'Replying now will overwrite the message you are currently composing. Are you sure you want to proceed?'},
message: <FormattedMessageid='confirmations.block.message'defaultMessage='Are you sure you want to block {name}?'values={{name: <strong>@{account.get('acct')}</strong>}}/>,
message: <FormattedMessageid='confirmations.block.message'defaultMessage='Are you sure you want to block {name}?'values={{name: <strong>@{account.get('acct')}</strong>}}/>,
replyMessage: {id: 'confirmations.reply.message',defaultMessage: 'Replying now will overwrite the message you are currently composing. Are you sure you want to proceed?'},
message: <FormattedMessageid='confirmations.block.message'defaultMessage='Are you sure you want to block {name}?'values={{name: <strong>@{account.get('acct')}</strong>}}/>,
replyMessage: {id: 'confirmations.reply.message',defaultMessage: 'Replying now will overwrite the message you are currently composing. Are you sure you want to proceed?'},
@@ -253,13 +254,19 @@ class Status extends ImmutablePureComponent {
253
254
}
254
255
}
255
256
256
-
handleBlockClick=(account)=>{
257
+
handleBlockClick=(status)=>{
257
258
const{ dispatch, intl }=this.props;
259
+
constaccount=status.get('account');
258
260
259
261
dispatch(openModal('CONFIRM',{
260
262
message: <FormattedMessageid='confirmations.block.message'defaultMessage='Are you sure you want to block {name}?'values={{name: <strong>@{account.get('acct')}</strong>}}/>,
0 commit comments