mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-17 00:31:47 +03:00
Fix lint
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
29a81bbe85
commit
80c4d54ccc
1 changed files with 2 additions and 2 deletions
|
@ -1060,12 +1060,12 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||
|
||||
const memberCount = roomToLeave.currentState.getJoinedMemberCount();
|
||||
if (memberCount === 1) {
|
||||
warnings.push(
|
||||
warnings.push((
|
||||
<span className="warning" key="only_member_warning">
|
||||
{' '/* Whitespace, otherwise the sentences get smashed together */ }
|
||||
{ _t("You are the only member of this room. This room will become unjoinable if you leave.") }
|
||||
</span>
|
||||
);
|
||||
));
|
||||
|
||||
return warnings;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue