Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Revert the applied formatting.

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
  • Loading branch information
EECvision and t3chguy authored Apr 12, 2022
1 parent 2cd9736 commit 8e70bc0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/views/right_panel/UserInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -653,9 +653,9 @@ const BanToggleButton = ({ room, member, startUpdating, stopUpdating }: Omit<IBa
room.isSpaceRoom() ? ConfirmSpaceUserActionDialog : ConfirmUserActionDialog,
{
member,
action: room.isSpaceRoom() ?
isBanned ? _t("Unban from space") : _t("Ban from space")
: isBanned ? _t("Unban from room") : _t("Ban from room"),
action: room.isSpaceRoom()
? (isBanned ? _t("Unban from space") : _t("Ban from space"))
: (isBanned ? _t("Unban from room") : _t("Ban from room")),
title: isBanned
? _t("Unban from %(roomName)s", { roomName: room.name })
: _t("Ban from %(roomName)s", { roomName: room.name }),
Expand Down Expand Up @@ -1469,8 +1469,8 @@ interface IProps {
user: Member;
room?: Room;
phase: RightPanelPhases.RoomMemberInfo
| RightPanelPhases.SpaceMemberInfo
| RightPanelPhases.EncryptionPanel;
| RightPanelPhases.SpaceMemberInfo
| RightPanelPhases.EncryptionPanel;
onClose(): void;
verificationRequest?: VerificationRequest;
verificationRequestPromise?: Promise<VerificationRequest>;
Expand Down

0 comments on commit 8e70bc0

Please sign in to comment.