diff --git a/src/components/RoomInfo.jsx b/src/components/RoomInfo.jsx index 958ec5f..647d513 100644 --- a/src/components/RoomInfo.jsx +++ b/src/components/RoomInfo.jsx @@ -21,6 +21,7 @@ const RoomInfo = ({ room, handleDisconnect }) => { room.players.map((user, idx) =>
  • + {user.socketId === room.currentPlayer ?  → : <>} {user.tombstone ? 💀 : <>} {user.name} {user.confirmedSelection ? ✅ : <>} diff --git a/src/components/RoomSelection.jsx b/src/components/RoomSelection.jsx index b245428..219d29e 100644 --- a/src/components/RoomSelection.jsx +++ b/src/components/RoomSelection.jsx @@ -102,7 +102,8 @@ const RoomCreate = ({ handleCreateRoom }) => {
    - + +
    diff --git a/src/socket.js b/src/socket.js index a794608..2f0bccf 100644 --- a/src/socket.js +++ b/src/socket.js @@ -1,6 +1,7 @@ import { io } from 'socket.io-client'; -const URL = 'http://192.168.0.100:5174'; +const URL = 'http://192.168.0.134:5174'; +console.log('Backend URL', URL); export const socket = io(URL, { autoConnect: false, transports: ['websocket'],