Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
John Tore Simonsen committed Nov 15, 2024
1 parent 553c956 commit d334475
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/views/rooms/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ export default class SearchBar extends React.Component<IProps, IState> {
>
{_t("room|search|this_room")}
</AccessibleButton>
{ SettingsStore.getValue(UIFeature.SearchInAllRooms) && (
{SettingsStore.getValue(UIFeature.SearchInAllRooms) && (
<AccessibleButton
className={allRoomsClasses}
onClick={this.onAllRoomsClick}
aria-checked={this.state.scope === SearchScope.All}
role="radio"
>
{_t("room|search|all_rooms")}
</AccessibleButton>
className={allRoomsClasses}
onClick={this.onAllRoomsClick}
aria-checked={this.state.scope === SearchScope.All}
role="radio"
>
{_t("room|search|all_rooms")}
</AccessibleButton>
)}
</div>
<div className="mx_SearchBar_input mx_textinput">
Expand Down

0 comments on commit d334475

Please sign in to comment.