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