Skip to content

Commit

Permalink
[skip ci] - run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo committed Aug 14, 2023
1 parent 1ca6879 commit 427a0b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/components/Transfer/Source.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,12 @@ function Source() {
);
/* End pandle token check */
const { decimals = 0, isNativeAsset = false } = parsedTokenAccount || {};
const isBelowMinimum = useMinimumAmountGuard({ amount, sourceChain, decimals, isNativeAsset });
const isBelowMinimum = useMinimumAmountGuard({
amount,
sourceChain,
decimals,
isNativeAsset,
});
return (
<>
<StepDescription>
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useMinimumAmountGuard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export type MinimumAmountGuardArgs = {
sourceChain: ChainId;
decimals: number;
isNativeAsset: boolean;
}
};

export default function useMinimumAmountGuard({
amount,
Expand Down

0 comments on commit 427a0b0

Please sign in to comment.