From 55186559de5242fff722b3b82b14cedcf92b5a76 Mon Sep 17 00:00:00 2001 From: Abhinav Kumar Date: Sat, 21 Oct 2023 22:32:17 +0530 Subject: [PATCH] lint fixes (#285) Signed-off-by: Abhinav Kumar --- .../react/src/components/Markdown/Markdown.js | 3 +-- .../components/RoomMembers/RoomMemberItem.js | 25 +++++++++++-------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/packages/react/src/components/Markdown/Markdown.js b/packages/react/src/components/Markdown/Markdown.js index 3a346406b..031925749 100644 --- a/packages/react/src/components/Markdown/Markdown.js +++ b/packages/react/src/components/Markdown/Markdown.js @@ -1,9 +1,8 @@ import React from 'react'; import PropTypes from 'prop-types'; +import { css } from '@emotion/react'; // Import Emotion's css function import { Markup } from '../Markup/index'; import { Box } from '../Box'; -import { css } from '@emotion/react'; // Import Emotion's css function -import { markdownStyles } from './Markdown.styles'; // Import Emotion styles import MessageEmoji from '../MessageEmoji/MessageEmoji'; const Markdown = ({ body, isReaction = false }) => { diff --git a/packages/react/src/components/RoomMembers/RoomMemberItem.js b/packages/react/src/components/RoomMembers/RoomMemberItem.js index 5f606a560..1aaf5a98b 100644 --- a/packages/react/src/components/RoomMembers/RoomMemberItem.js +++ b/packages/react/src/components/RoomMembers/RoomMemberItem.js @@ -1,18 +1,21 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { - Option, - OptionColumn, - OptionDescription, - OptionContent, -} from '@rocket.chat/fuselage'; -import UserStatus from './UserStatus'; const RoomMemberItem = ({ user }) => ( - -
- avatar - {user.username} +
+ avatar + {user.username}
);