From 6ecf0388bbda2cd697219c6f28612d323b105fcd Mon Sep 17 00:00:00 2001 From: sepia Date: Wed, 23 Jul 2025 15:13:36 -0500 Subject: [PATCH] Move copy link button to button box --- index.html | 9 +-------- src/web-socket-handler.tsx | 9 +++++++++ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 80a3e73..0ccef96 100644 --- a/index.html +++ b/index.html @@ -22,14 +22,7 @@
- + diff --git a/src/web-socket-handler.tsx b/src/web-socket-handler.tsx index 51a5f85..ec09aca 100644 --- a/src/web-socket-handler.tsx +++ b/src/web-socket-handler.tsx @@ -224,6 +224,15 @@ class GameServer { , ); } + } else if (this.gomoku.status === 'waiting') { + buttons.push( + , + ); } conn.ws.send(
{buttons}
);