diff --git a/src/components/PlanningPoker/PlanningPoker.tsx b/src/components/PlanningPoker/PlanningPoker.tsx index ad68e19..f67e5f9 100644 --- a/src/components/PlanningPoker/PlanningPoker.tsx +++ b/src/components/PlanningPoker/PlanningPoker.tsx @@ -146,13 +146,10 @@ const PlanningPoker: FC<PlanningPokerProps> = (props) => { return uniqueParty.length > 1; }, [uniqueParty]); - useEffect(() => { - if (!currentUser) return; - console.log(currentUser, getTicketNo(), 'starting'); - }, [ws]); - useEffect(() => { const listenNavigate = () => { + if (!ws) return; + ws.updateProperties({ room: getTicketNo(), });