mirror of https://github.com/vector-im/riot-web
lint
parent
49d2ed8906
commit
99b04a6f70
|
@ -127,7 +127,9 @@ export default class VerificationRequestToast extends React.PureComponent {
|
||||||
nameLabel = _t("%(name)s (%(userId)s)", {name: user.displayName, userId});
|
nameLabel = _t("%(name)s (%(userId)s)", {name: user.displayName, userId});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const declineLabel = this.state.counter == 0 ? _t("Decline") : _t("Decline (%(counter)s)", {counter: this.state.counter});
|
const declineLabel = this.state.counter == 0 ?
|
||||||
|
_t("Decline") :
|
||||||
|
_t("Decline (%(counter)s)", {counter: this.state.counter});
|
||||||
return (<div>
|
return (<div>
|
||||||
<div className="mx_Toast_description">{nameLabel}</div>
|
<div className="mx_Toast_description">{nameLabel}</div>
|
||||||
<div className="mx_Toast_buttons" aria-live="off">
|
<div className="mx_Toast_buttons" aria-live="off">
|
||||||
|
|
Loading…
Reference in New Issue