From 3ef3ec7d25938f23848a6cfb05c214b1d4bd7ea3 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 12 Feb 2024 09:54:33 +0100 Subject: [PATCH] quick fix --- src/components/PlayerDummies.jsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/PlayerDummies.jsx b/src/components/PlayerDummies.jsx index 3eb7c1e..3774e16 100644 --- a/src/components/PlayerDummies.jsx +++ b/src/components/PlayerDummies.jsx @@ -44,6 +44,7 @@ export const PlayerDummies = ( { player, userPlayer }) => { const body = useRef(); const kart = useRef(); const cam = useRef(); + const text = useRef(); const initialSpeed = 0; const maxSpeed = 30; const boostSpeed = 50; @@ -101,6 +102,7 @@ export const PlayerDummies = ( { player, userPlayer }) => { setShouldLaunch(player.getState("shouldLaunch")); setTurboColor(player.getState("turboColor")); setScale(player.getState("scale")); + console.log(player.state.profile.name) @@ -115,9 +117,6 @@ export const PlayerDummies = ( { player, userPlayer }) => { return player.id != id? ( <> - - {player.state.profile.name} - { + + {player.state.profile.name} +