From 044d91abd5103e978e327a8c41d8712e7f92d4f5 Mon Sep 17 00:00:00 2001
From: Pierre Ferreira
Date: Fri, 10 Nov 2023 15:12:37 +0100
Subject: [PATCH] =?UTF-8?q?ajout=20de=20d=C3=A9pendances=20pour=20un=20swi?=
=?UTF-8?q?tch=20et=20stub=20dans=20les=20params=20de=20jeu=20:package:?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
cryptide_project/package-lock.json | 9 +++++++++
cryptide_project/package.json | 3 ---
cryptide_project/src/Pages/InGame.tsx | 2 +-
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/cryptide_project/package-lock.json b/cryptide_project/package-lock.json
index e138573..7b4fea2 100644
--- a/cryptide_project/package-lock.json
+++ b/cryptide_project/package-lock.json
@@ -27,7 +27,16 @@
"react-intl": "^6.5.2",
"react-router-dom": "^6.18.0",
"react-scripts": "5.0.1",
+<<<<<<< HEAD
"react-switch": "^7.0.0",
+=======
+<<<<<<< HEAD
+ "socket.io": "^4.7.2",
+ "socket.io-client": "^4.7.2",
+=======
+ "react-switch": "^7.0.0",
+>>>>>>> 3d3d620 (ajout de dépendances pour un switch et stub dans les params de jeu :package:)
+>>>>>>> 65f2cb6 (ajout de dépendances pour un switch et stub dans les params de jeu :package:)
"typescript": "^5.2.2",
"vis-network": "^9.1.9",
"web-vitals": "^2.1.4"
diff --git a/cryptide_project/package.json b/cryptide_project/package.json
index 3c29664..30df0cc 100644
--- a/cryptide_project/package.json
+++ b/cryptide_project/package.json
@@ -21,12 +21,9 @@
"react-intl": "^6.5.2",
"react-router-dom": "^6.18.0",
"react-scripts": "5.0.1",
-<<<<<<< HEAD
"react-switch": "^7.0.0",
-=======
"socket.io": "^4.7.2",
"socket.io-client": "^4.7.2",
->>>>>>> af92727 (Début du serveur)
"typescript": "^5.2.2",
"vis-network": "^9.1.9",
"web-vitals": "^2.1.4"
diff --git a/cryptide_project/src/Pages/InGame.tsx b/cryptide_project/src/Pages/InGame.tsx
index 3df1915..ce87883 100644
--- a/cryptide_project/src/Pages/InGame.tsx
+++ b/cryptide_project/src/Pages/InGame.tsx
@@ -89,7 +89,7 @@ const InGame = ({locale, changeLocale}) => {
window.open(url);
};
-
+ const [SwitchEnabled, setSwitchEnabled] = useState(false)
const indices = Stub.GenerateIndice()
return (