From 9f8a38da73f70da4b048363280b2d8c6bd88aa32 Mon Sep 17 00:00:00 2001 From: Thilina Gunasekara Date: Sun, 11 Aug 2024 00:43:32 +0930 Subject: [PATCH] remove unwanted logging --- src/components/PlanningPoker/PlanningPoker.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 = (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(), });