-
{white}
-
vs
-
{black}
-
+
+
{white}
+
VS
+
{black}
+
+
{color === WHITE ? timeout : "10"}
+
+
{color === BLACK ? timeout : "10"}
+
+
)
}
diff --git a/src/main/client/src/feature/lobby/OpenGames.jsx b/src/main/client/src/feature/lobby/OpenGames.jsx
index ebae3f8..8ed815a 100644
--- a/src/main/client/src/feature/lobby/OpenGames.jsx
+++ b/src/main/client/src/feature/lobby/OpenGames.jsx
@@ -6,7 +6,6 @@ import {
useCallback,
} from "react"
import {
- FaCircle,
FaAngleLeft,
FaAngleRight,
} from "react-icons/fa"
@@ -25,6 +24,9 @@ import {
import {
Button,
} from "src/component/Button.jsx"
+import {
+ BabyStone,
+} from "src/component/BabyStone.jsx"
import {
base,
StompContext,
@@ -156,13 +158,13 @@ function AcceptDialog({acceptableGame, onAccept}) {
className="absolute bg-sky-200 px-4 py-3 rounded-lg z-10 flex flex-col">
@@ -193,10 +195,3 @@ function AcceptDialog({acceptableGame, onAccept}) {
)
}
-function BabyStone({color}) {
- return (
-
-
-
- )
-}