Skip to content

Commit

Permalink
fix: improve error message when checksum address is expected (#4944)
Browse files Browse the repository at this point in the history
* fix: improve error message when checksum address is expected

* fix: remove unrelated import
  • Loading branch information
wa0x6e authored Dec 2, 2024
1 parent 8f47858 commit 68231a4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/SpaceSplitDelegationRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ const definition = {
}
},
required: ['to', 'weight'],
additionalProperties: false
additionalProperties: false,
errorMessage: {
properties: {
to: 'Must be a valid checksum address'
}
}
};
const props = defineProps<{
Expand Down

0 comments on commit 68231a4

Please sign in to comment.