v1.5.2/fix updateloading on leave

This commit is contained in:
2020-07-25 23:07:34 -04:00
parent 8df05367b1
commit dcf3c8a63e
+7 -3
View File
@@ -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);
});
}
}
}