Add spaces around curlies
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
3d3c428455
commit
ded738ce8c
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue