v1.5.2/fix updateloading on leave
This commit is contained in:
+7
-3
@@ -68,9 +68,13 @@ export default class Create extends Component {
|
||||
partyName: LocalData().partyName,
|
||||
userUid: LocalData().userUid,
|
||||
};
|
||||
LeaveRoomApi(data).then((res) => {
|
||||
this.props.updateLoading(false);
|
||||
});
|
||||
LeaveRoomApi(data)
|
||||
.then((res) => {
|
||||
this.props.updateLoading(false);
|
||||
})
|
||||
.catch((err) => {
|
||||
this.props.updateLoading(false);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user