Skip to content

Commit

Permalink
Copy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zzq0826 committed Sep 27, 2024
1 parent 937793f commit 735e6bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/pages/bridge/FAQ/link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const BridgeLinks = () => {
Terms of Service
<SvgIcon component={LinkSvg} inheritViewBox></SvgIcon>
</FAQsLink>
<Typography> © Version V2.2.21</Typography>
<Typography> © Version V2.2.22</Typography>
</Stack>
)
}
Expand Down
8 changes: 4 additions & 4 deletions src/pages/bridge/Send/SendTransaction/TransactionSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { makeStyles } from "tss-react/mui"

import { Box, Typography } from "@mui/material"

import { ETH_SYMBOL } from "@/constants"
import { ETH_SYMBOL, L1_NAME, L2_NAME } from "@/constants"
import useBridgeStore from "@/stores/bridgeStore"
import { amountToBN, toTokenDisplay } from "@/utils"

Expand Down Expand Up @@ -145,9 +145,9 @@ const TransactionSummary: FC<Props> = props => {
<table className={styles.table}>
<tbody>
<DetailRow title={`You're ${txType === "Deposit" ? "depositing" : "withdrawing"}`} value={displayedAmount.value} large />
{txType === "Deposit" && <DetailRow title="Ethereum gas fee" value={displayedL1Fee.value} large />}
<DetailRow title="Scroll gas fee" value={displayedL2Fee.value} large />
{txType === "Withdraw" && <DetailRow title="Ethereum data fee" value={displayedL1DataFee.value} large />}
{txType === "Deposit" && <DetailRow title={`${L1_NAME} gas fee`} value={displayedL1Fee.value} large />}
<DetailRow title={`${L2_NAME} gas fee`} value={displayedL2Fee.value} large />
{txType === "Withdraw" && <DetailRow title={`${L1_NAME} data fee`} value={displayedL1DataFee.value} large />}
<tr className={styles.hr}>
<td></td>
<td></td>
Expand Down

0 comments on commit 735e6bd

Please sign in to comment.