Skip to content

Commit

Permalink
fix: more simplified ternary assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivanov N committed Oct 24, 2024
1 parent 5c37665 commit 12e0fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SendFundsForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ export default {
}
}
if (crypto === Cryptos.KLY) {
params.reference ? this.textData = params.reference : this.textData = ''
this.textData = params.reference ? params.reference : ''
}
} else {
this.$emit('error', this.$t('transfer.error_incorrect_address', { crypto: this.currency }))
Expand Down

0 comments on commit 12e0fd1

Please sign in to comment.