Spaces before/after curlies

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Germain 2021-06-22 10:06:31 +01:00 committed by GitHub
parent 88d25ad6af
commit e9d87478e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View file

@ -51,10 +51,10 @@ const GenericToast: React.FC<XOR<IPropsExtended, IProps>> = ({
</div>
<div className="mx_Toast_buttons" aria-live="off">
{onReject && rejectLabel && <AccessibleButton kind="danger" onClick={onReject}>
{rejectLabel}
{ rejectLabel }
</AccessibleButton> }
<AccessibleButton onClick={onAccept} kind="primary">
{acceptLabel}
{ acceptLabel }
</AccessibleButton>
</div>
</div>;

View file

@ -148,7 +148,7 @@ export default class IncomingCallBox extends React.Component<IProps, IState> {
onClick={this.onRejectClick}
kind="danger"
>
{_t("Decline")}
{ _t("Decline") }
</AccessibleButton>
<div className="mx_IncomingCallBox_spacer" />
<AccessibleButton
@ -156,10 +156,9 @@ export default class IncomingCallBox extends React.Component<IProps, IState> {
onClick={this.onAnswerClick}
kind="primary"
>
{_t("Accept")}
{ _t("Accept") }
</AccessibleButton>
</div>
</div>;
}
}