Skip to content

Commit

Permalink
Fiexed lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
smritidoneria committed Oct 28, 2024
1 parent 5da447f commit 09d5b89
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/react/src/views/ReportMessage/MessageReportWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,10 @@ import React, { useState } from 'react';
import PropTypes from 'prop-types';
import { Box, Input } from '@embeddedchat/ui-elements';
import ReportWindowButtons from './ReportWindowButtons';
import { useMessageStore } from '../../store';
import styles from './ReportMessage.styles';
import { Markdown } from '../Markdown';

const MessageReportWindow = ({ messageId }) => {
const [reportDescription, setDescription] = useState('');
// const messages = useMessageStore((state) => state.messages) || [];
// const threadMessages = useMessageStore((state) => state.threadMessages) || [];
// const allMessages = [...messages, ...threadMessages];
// const messageText = allMessages.filter(
// (message) => message._id === messageId
// )[0]?.msg;
return (
<ReportWindowButtons
variant="danger"
Expand All @@ -23,7 +15,6 @@ const MessageReportWindow = ({ messageId }) => {
reportDescription={reportDescription}
messageId={messageId}
>
<Box></Box>
<Box css={styles.conatiner}>
<Input
textArea
Expand Down

0 comments on commit 09d5b89

Please sign in to comment.