Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chor: lint fixes #285

Merged
merged 1 commit into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
lint fixes
Signed-off-by: Abhinav Kumar <abhinav@avitechlab.com>
  • Loading branch information
abhinavkrin committed Oct 21, 2023
commit fface9dbe38f45ed8a6efaaa6026f76ed0c96eb4
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