diff --git a/app/views/RoomView/index.tsx b/app/views/RoomView/index.tsx index 870338cfc..8d73ef484 100644 --- a/app/views/RoomView/index.tsx +++ b/app/views/RoomView/index.tsx @@ -985,7 +985,7 @@ class RoomView extends React.Component { navToRoom = async (message: { rid: string; id: string }) => { const { navigation, isMasterDetail } = this.props; - const roomInfo: any = await getRoomInfo(message.rid); + const roomInfo = (await getRoomInfo(message.rid)) as IRoom; return goRoom({ item: roomInfo, isMasterDetail,