Skip to content

Commit

Permalink
Merge pull request kodadot#5610 from roiLeo/fix/identity/inputLength
Browse files Browse the repository at this point in the history
🔧 identityForm inputs length
  • Loading branch information
yangwao committed Apr 12, 2023
2 parents 56c0b70 + b04d44b commit 922eb95
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions components/common/IdentityForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ type IdentityFields = Record<string, string>
const { $store, $i18n } = useNuxtApp()
const { apiUrl, apiInstance } = useApi()
const { urlPrefix } = usePrefix()
const { accountId } = useAuth()
const { howAboutToExecute, isLoading, initTransactionLoader, status } =
useMetaTransaction()
Expand All @@ -121,13 +120,7 @@ const identity = ref<Record<string, string>>({
legal: '',
})
const deposit = ref('0')
const inputLengthLimit = computed(() => {
if (urlPrefix.value === 'bsx' || urlPrefix.value === 'snek') {
return 32
}
return undefined
})
const inputLengthLimit = ref(32)
onBeforeMount(async () => {
onApiConnect(apiUrl.value, async (api) => {
Expand Down

0 comments on commit 922eb95

Please sign in to comment.