Commit 3072e253 authored by Trisno's avatar Trisno

ganti toast jika berhasil

parent 2f9eada8
...@@ -278,7 +278,7 @@ class Home extends React.Component { ...@@ -278,7 +278,7 @@ 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.componentDidMount()
}).catch(error => { }).catch(error => {
let response = error.response.data let response = error.response.data
......
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