Skip to content

Commit

Permalink
fix: free trades are free
Browse files Browse the repository at this point in the history
  • Loading branch information
woodenfurniture committed Nov 13, 2024
1 parent 2b14c3b commit 64fd7ed
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ export const ReceiveSummary: FC<ReceiveSummaryProps> = memo(
_hover={!isThorFreeTrade ? shapeShiftFeeModalRowHover : undefined}
>
<Flex alignItems='center' gap={2}>
{!!affiliateFeeAfterDiscountUserCurrency &&
affiliateFeeAfterDiscountUserCurrency !== '0' ? (
{!bnOrZero(affiliateFeeAfterDiscountUserCurrency).isZero() ? (
<>
<Amount.Fiat value={affiliateFeeAfterDiscountUserCurrency} />
<QuestionIcon />
Expand Down

0 comments on commit 64fd7ed

Please sign in to comment.