Skip to content

Commit

Permalink
lint fixes (#285)
Browse files Browse the repository at this point in the history
Signed-off-by: Abhinav Kumar <[email protected]>
  • Loading branch information
abhinavkrin authored Oct 21, 2023
1 parent 0f57e38 commit 5518655
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
3 changes: 1 addition & 2 deletions packages/react/src/components/Markdown/Markdown.js
Original file line number Diff line number Diff line change
@@ -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 }) => {
Expand Down
25 changes: 14 additions & 11 deletions packages/react/src/components/RoomMembers/RoomMemberItem.js
Original file line number Diff line number Diff line change
@@ -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 }) => (

<div style={{ width:'100%',paddingBottom:'8px',paddingTop:'8px',display:'flex' }}>
<img src={ `http://localhost:3000/avatar/${user.username}`} alt="avatar" style={{ height:'1.5rem',marginLeft:'0.5rem',}}></img>
<span style={{ marginLeft:'1.2rem',}}>{user.username}</span>
<div
style={{
width: '100%',
paddingBottom: '8px',
paddingTop: '8px',
display: 'flex',
}}
>
<img
src={`http://localhost:3000/avatar/${user.username}`}
alt="avatar"
style={{ height: '1.5rem', marginLeft: '0.5rem' }}
/>
<span style={{ marginLeft: '1.2rem' }}>{user.username}</span>
</div>
);

Expand Down

0 comments on commit 5518655

Please sign in to comment.