diff --git a/containers/react/src/components/App.tsx b/containers/react/src/components/App.tsx index 6bc79321..f4820d07 100644 --- a/containers/react/src/components/App.tsx +++ b/containers/react/src/components/App.tsx @@ -1,4 +1,4 @@ -import React, { useEffect, useState } from "react"; +import React, { useEffect } from "react"; import { Routes, Route, Navigate } from 'react-router-dom'; import HomeLogin from "../pages/LoginButton.tsx"; diff --git a/containers/react/src/components/Messages/Modal.tsx b/containers/react/src/components/Messages/Modal.tsx index 944f15d8..f0a6308c 100644 --- a/containers/react/src/components/Messages/Modal.tsx +++ b/containers/react/src/components/Messages/Modal.tsx @@ -20,6 +20,7 @@ const Modal = ({handleClose}: ModalProps) => { const [channel, setChannel] = useState(''); + useEffect(()=> { const getConv = async ()=>{ try { diff --git a/containers/react/src/components/Messages/PartyInvite.tsx b/containers/react/src/components/Messages/PartyInvite.tsx index 1e76bb3e..c0acaf82 100644 --- a/containers/react/src/components/Messages/PartyInvite.tsx +++ b/containers/react/src/components/Messages/PartyInvite.tsx @@ -6,7 +6,7 @@ /* By: apommier +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/06/19 16:44:29 by apommier #+# #+# */ -/* Updated: 2023/06/20 23:53:01 by apommier ### ########.fr */ +/* Updated: 2023/06/28 18:08:11 by apommier ### ########.fr */ /* */ /* ************************************************************************** */ @@ -33,12 +33,6 @@ const UserChat = styled.div ` } ` -const SideP = styled.p` - font-size: 14px; - color: lightgray; - margin-left: 15px; -` - interface InviteProps { username: string, gameId: string