From 70d6d1bc56d6c1b24b59e25fd36d31c405283b22 Mon Sep 17 00:00:00 2001 From: "C. Fuhrman" Date: Thu, 27 Feb 2025 15:49:09 -0500 Subject: [PATCH] =?UTF-8?q?Nom=20de=20la=20salle=20doiit=20=C3=AAtre=20un?= =?UTF-8?q?=20majuscule=20Supprimer=20des=20cr=C3=A9ations=20de=20socket/s?= =?UTF-8?q?alle=20superflues=20Suppression=20(nettoyage)=20des=20salles=20?= =?UTF-8?q?et=20socket=20plus=20robuste=20diminue=20le=20bazaar=20de=20use?= =?UTF-8?q?Effect=20(!)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/App.tsx | 4 - .../pages/ManageRoom/ManageRoom.test.tsx | 2 +- .../src/pages/Student/JoinRoom/JoinRoom.tsx | 9 +- .../src/pages/Teacher/Dashboard/Dashboard.tsx | 60 ++++++--- .../pages/Teacher/ManageRoom/ManageRoom.tsx | 122 +++++++----------- client/src/services/WebsocketService.tsx | 29 +++-- server/__tests__/socket.test.js | 63 ++++----- server/socket/socket.js | 45 ++++--- 8 files changed, 170 insertions(+), 164 deletions(-) diff --git a/client/src/App.tsx b/client/src/App.tsx index 5cd7c06..5c98fbf 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -13,7 +13,6 @@ import Register from './pages/Teacher/Register/Register'; import ResetPassword from './pages/Teacher/ResetPassword/ResetPassword'; import ManageRoom from './pages/Teacher/ManageRoom/ManageRoom'; import QuizForm from './pages/Teacher/EditorQuiz/EditorQuiz'; -import { RoomProvider } from './pages/Teacher/ManageRoom/RoomContext'; // Pages espace étudiant import JoinRoom from './pages/Student/JoinRoom/JoinRoom'; @@ -34,8 +33,6 @@ const isLoggedIn = () => { function App() { return ( - - {' '}
@@ -64,7 +61,6 @@ function App() {