Skip to content

Commit

Permalink
chore: add comment to change
Browse files Browse the repository at this point in the history
  • Loading branch information
SGiaccobasso committed Oct 2, 2024
1 parent a4b840b commit 1bbad25
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ export function useInterchainTokenServiceTransferMutation(

const mutation = useMutation<void, unknown, UseSendInterchainTokenInput>({
mutationFn: async ({ amount }) => {
// allow token transfers with decimals === 0 but not undefined
if (!(decimals !== undefined && address && config.gas)) {
return;
}
Expand Down

0 comments on commit 1bbad25

Please sign in to comment.