Commit c13a6ea2 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo
parents d3c42eaa bf91f63d
...@@ -278,8 +278,8 @@ class Home extends React.Component { ...@@ -278,8 +278,8 @@ class Home extends React.Component {
session_id: this.props.session_id session_id: this.props.session_id
} }
Axios.post(this.props.BASE_URL + 'crm/v2/card/claim_old_balance', params).then(res => { Axios.post(this.props.BASE_URL + 'crm/v2/card/claim_old_balance', params).then(res => {
Alert.alert(i18n.t('success'), i18n.t('alertclaimcredit')) Toast.show(i18n.t('alertclaimcredit'))
this.componentDidMount() this._account()
}).catch(error => { }).catch(error => {
let response = error.response.data let response = error.response.data
Alert.alert(error, response.msg) Alert.alert(error, response.msg)
......
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