Skip to content

Commit

Permalink
feat(migrator): remove gas fee red color
Browse files Browse the repository at this point in the history
  • Loading branch information
abbylow committed Jul 19, 2023
1 parent b134414 commit 548f101
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,7 @@ export function TransactionSummary({ actualGasFee }: Props) {
}
>
<Typography variant="smallWidget">Gas fee</Typography>
<Typography
variant="smallWidget"
className={
parseInt(actualGasFee || "0", 10) === 0
? "text-[#E22F3D]"
: "text-white"
}
>
<Typography variant="smallWidget" className="text-white">
{isActualGasFeeInfinity
? Infinity.toLocaleString()
: formatEther(parseUnits(actualGasFee || "0", "gwei") || "0")}{" "}
Expand Down

0 comments on commit 548f101

Please sign in to comment.