Skip to content

Commit

Permalink
fix(TokenBalanceInput): added defineExpose for checkValidity
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenjason89 committed Aug 14, 2023
1 parent 1c38aa3 commit 4904b61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/bsx/input/TokenBalanceInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ import BasicBalanceInput from '@/components/shared/form/BasicBalanceInput.vue'
const balanceInputComponent = ref<BasicBalanceInput>()
const emit = defineEmits(['input'])
defineExpose({
checkValidity,
})
const props = defineProps({
value: { type: String || Number, required: true },
tokenId: { type: String || Number, required: false, default: '5' },
Expand Down

0 comments on commit 4904b61

Please sign in to comment.