Skip to content

Commit

Permalink
imports clear
Browse files Browse the repository at this point in the history
  • Loading branch information
dendidibe committed Aug 10, 2023
1 parent 38bb967 commit 99b91e5
Showing 1 changed file with 16 additions and 26 deletions.
42 changes: 16 additions & 26 deletions client-web/src/pages/ChatInRoom/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,7 @@ import {
import { Message } from "../../components/Chat/Messages/Message";
import { SystemMessage } from "../../components/Chat/Messages/SystemMessage";
import {
Button,
CircularProgress,
Dialog,
DialogActions,
DialogContent,
DialogContentText,
DialogTitle,
IconButton,
useMediaQuery,
useTheme,
Box,
Slide,
Stack,
Expand All @@ -55,7 +46,7 @@ import { MetaNavigation } from "../../components/MetaNavigation/MetaNavigation";
import QrCodeIcon from "@mui/icons-material/QrCode";
import { QrModal } from "../Profile/QrModal";
import { CONFERENCEDOMAIN } from "../../constants";
import { appName, ROOMS_FILTERS } from "../../config/config";
import { ROOMS_FILTERS } from "../../config/config";
import ThreadContainer from "../../components/Chat/Threads/ThreadContainer";
import { ChatTransferDialog } from "../../components/Chat/ChatTransferDialog";
import { ChatMediaModal } from "../../components/Chat/ChatMediaModal";
Expand All @@ -65,7 +56,6 @@ import CloseIcon from "@mui/icons-material/Close";
import EditIcon from "@mui/icons-material/Edit";
import { DeleteDialog } from "../../components/DeleteDialog";
import { useSnackbar } from "../../context/SnackbarContext";
import { Helmet } from "react-helmet";
import { createMainMessageForThread } from "../../utils/createMessage";
import Dompurify from "dompurify";

Expand Down Expand Up @@ -797,21 +787,21 @@ export function ChatInRoom() {
)}
</ChatContainer>
{isThreadView && (
<ThreadContainer
chooseRoom={chooseRoom}
currentPickedRoom={currentPickedRoom}
currentRoom={currentRoom}
handleSetThreadView={handleSetThreadView}
handleShowInChannel={handleShowInChannel}
isThreadView={isThreadView}
onYReachStart={onYReachStart}
profile={profile}
roomData={roomData}
sendFile={sendFile}
showInChannel={showInChannel}
toggleMediaModal={toggleMediaModal}
toggleTransferDialog={toggleTransferDialog}
/>
<ThreadContainer
chooseRoom={chooseRoom}
currentPickedRoom={currentPickedRoom}
currentRoom={currentRoom}
handleSetThreadView={handleSetThreadView}
handleShowInChannel={handleShowInChannel}
isThreadView={isThreadView}
onYReachStart={onYReachStart}
profile={profile}
roomData={roomData}
sendFile={sendFile}
showInChannel={showInChannel}
toggleMediaModal={toggleMediaModal}
toggleTransferDialog={toggleTransferDialog}
/>
)}
</div>
</MainContainer>
Expand Down

0 comments on commit 99b91e5

Please sign in to comment.