From 2155198fb04786cbd84ccf8b194c14b64ee24550 Mon Sep 17 00:00:00 2001 From: Bill Date: Thu, 17 Mar 2022 00:28:10 -0400 Subject: [PATCH] Remove score for now --- .../navigator/NavigatorMessageHandler.tsx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/components/navigator/NavigatorMessageHandler.tsx b/src/components/navigator/NavigatorMessageHandler.tsx index 3cb52266..b50810d5 100644 --- a/src/components/navigator/NavigatorMessageHandler.tsx +++ b/src/components/navigator/NavigatorMessageHandler.tsx @@ -93,18 +93,7 @@ export const NavigatorMessageHandler: FC<{}> = props => const onRoomScoreEvent = useCallback((event: RoomScoreEvent) => { const parser = event.getParser(); - - const roomInfoData = navigatorState.roomInfoData; - roomInfoData.canRate = parser.canLike; - roomInfoData.enteredGuestRoom.score = parser.totalLikes; - - dispatchNavigatorState({ - type: NavigatorActions.SET_ROOM_INFO_DATA, - payload: { - roomInfoData: roomInfoData - } - }); - }, [ dispatchNavigatorState, navigatorState ]); + }, [ ]); const onRoomDoorbellEvent = useCallback((event: RoomDoorbellEvent) => {