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>
<div className="mx_Toast_buttons" aria-live="off"> <div className="mx_Toast_buttons" aria-live="off">
{onReject && rejectLabel && <AccessibleButton kind="danger" onClick={onReject}> {onReject && rejectLabel && <AccessibleButton kind="danger" onClick={onReject}>
{rejectLabel} { rejectLabel }
</AccessibleButton> } </AccessibleButton> }
<AccessibleButton onClick={onAccept} kind="primary"> <AccessibleButton onClick={onAccept} kind="primary">
{acceptLabel} { acceptLabel }
</AccessibleButton> </AccessibleButton>
</div> </div>
</div>; </div>;

View file

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