Skip to content

Commit

Permalink
fix: dont show est l1 fee when additional cost = 0
Browse files Browse the repository at this point in the history
  • Loading branch information
viet-nv committed Mar 19, 2024
1 parent 5511e0b commit cebd20a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SwapForm/SwapModal/SwapDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export default function SwapDetails({
}
/>
</RowBetween>
{buildData?.additionalCostUsd && (
{buildData?.additionalCostUsd && buildData?.additionalCostUsd !== '0' && (
<RowBetween>
<RowFixed>
<TextDashed fontSize={12} fontWeight={400} color={theme.subText}>
Expand Down

0 comments on commit cebd20a

Please sign in to comment.