clean unused var

This commit is contained in:
Alexandre POMMIER 2023-06-28 18:10:09 +02:00
parent 0d0d0e44ec
commit cebe59f067
3 changed files with 3 additions and 8 deletions

View File

@ -1,4 +1,4 @@
import React, { useEffect, useState } from "react"; import React, { useEffect } from "react";
import { Routes, Route, Navigate } from 'react-router-dom'; import { Routes, Route, Navigate } from 'react-router-dom';
import HomeLogin from "../pages/LoginButton.tsx"; import HomeLogin from "../pages/LoginButton.tsx";

View File

@ -20,6 +20,7 @@ const Modal = ({handleClose}: ModalProps) => {
const [channel, setChannel] = useState(''); const [channel, setChannel] = useState('');
useEffect(()=> { useEffect(()=> {
const getConv = async ()=>{ const getConv = async ()=>{
try { try {

View File

@ -6,7 +6,7 @@
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */ /* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/06/19 16:44:29 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 { interface InviteProps {
username: string, username: string,
gameId: string gameId: string