You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Add spaces around curlies
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user