Commit 1dade9cd authored by William Goszal's avatar William Goszal 🚴

Fix bug di Card Activation bagian handleToken, tidak menutup spinner saat phonenumber gak diisi

parent 9fb2ced5
...@@ -95,12 +95,10 @@ class CardActivation extends React.Component { ...@@ -95,12 +95,10 @@ class CardActivation extends React.Component {
} }
handleToken() { handleToken() {
this.setState({
spinner: true,
})
if (this.state.mobile_phone == '') { if (this.state.mobile_phone == '') {
Alert.alert('',i18n.t('inputPhoneNumber')); Alert.alert('',i18n.t('inputPhoneNumber'))
} else { } else {
this.setState({ spinner: true })
let params = { let params = {
session_id: this.props.session_id, session_id: this.props.session_id,
mobile_phone: this.state.mobile_phone mobile_phone: this.state.mobile_phone
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment