minor tweak
This commit is contained in:
parent
09a8254813
commit
18b2f3388d
|
@ -985,7 +985,7 @@ class RoomView extends React.Component<IRoomViewProps, any> {
|
|||
|
||||
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,
|
||||
|
|
Loading…
Reference in New Issue