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) => {