Commit d2f954a4 authored by Riri Novita's avatar Riri Novita

Merge branch 'ENV-DEV' of http://103.44.149.204/d.arizona/tia-dev into dev/riri

parents 1852c2c3 2d708095
...@@ -508,7 +508,7 @@ export default class CreatePerusahaan extends Component { ...@@ -508,7 +508,7 @@ export default class CreatePerusahaan extends Component {
}, () => { }, () => {
if (this.state.defaultCurrency) { if (this.state.defaultCurrency) {
const result = this.state.currency.find((elem) => elem.id === this.state.defaultCurrency.id) const result = this.state.currency.find((elem) => elem.id === this.state.defaultCurrency.id)
this.setState({ defaultCurrency: result }) this.setState({ defaultCurrency: "" })
} }
}) })
...@@ -808,7 +808,7 @@ export default class CreatePerusahaan extends Component { ...@@ -808,7 +808,7 @@ export default class CreatePerusahaan extends Component {
}, () => { }, () => {
if (this.state.defaultCurrency) { if (this.state.defaultCurrency) {
const result = this.state.currency.find((elem) => elem.id === this.state.defaultCurrency.id) const result = this.state.currency.find((elem) => elem.id === this.state.defaultCurrency.id)
this.setState({ defaultCurrency: result }) this.setState({ defaultCurrency: "" })
} }
this.clearError() this.clearError()
......
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