Add spaces around curlies

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Germain 2021-06-22 14:57:44 +01:00 committed by GitHub
parent 3d3c428455
commit ded738ce8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -19,8 +19,8 @@ import React, { createRef, RefObject } from 'react';
import AccessibleButton from "../elements/AccessibleButton"; import AccessibleButton from "../elements/AccessibleButton";
import classNames from "classnames"; import classNames from "classnames";
import { _t } from '../../../languageHandler'; import { _t } from '../../../languageHandler';
import {Key} from "../../../Keyboard"; import { Key } from "../../../Keyboard";
import DesktopBuildsNotice, {WarningKind} from "../elements/DesktopBuildsNotice"; import DesktopBuildsNotice, { WarningKind } from "../elements/DesktopBuildsNotice";
import { replaceableComponent } from "../../../utils/replaceableComponent"; import { replaceableComponent } from "../../../utils/replaceableComponent";
interface IProps { interface IProps {
@ -95,7 +95,7 @@ export default class SearchBar extends React.Component<IProps, IState> {
<div className="mx_SearchBar"> <div className="mx_SearchBar">
<div className="mx_SearchBar_buttons" role="radiogroup"> <div className="mx_SearchBar_buttons" role="radiogroup">
<AccessibleButton <AccessibleButton
className={ thisRoomClasses } className={thisRoomClasses}
onClick={this.onThisRoomClick} onClick={this.onThisRoomClick}
aria-checked={this.state.scope === SearchScope.Room} aria-checked={this.state.scope === SearchScope.Room}
role="radio" role="radio"
@ -103,7 +103,7 @@ export default class SearchBar extends React.Component<IProps, IState> {
{_t("This Room")} {_t("This Room")}
</AccessibleButton> </AccessibleButton>
<AccessibleButton <AccessibleButton
className={ allRoomsClasses } className={allRoomsClasses}
onClick={this.onAllRoomsClick} onClick={this.onAllRoomsClick}
aria-checked={this.state.scope === SearchScope.All} aria-checked={this.state.scope === SearchScope.All}
role="radio" role="radio"