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} +