Skip to content

Commit

Permalink
Merge pull request #548 from liteflow-labs/fix/cart-approve-button-text
Browse files Browse the repository at this point in the history
Fix / Cart approve button text change
  • Loading branch information
ismailToyran authored Jan 31, 2024
2 parents ce79985 + 0124dc4 commit 32b4203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Cart/Step/Transaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import useSigner from '../../../hooks/useSigner'
import ConnectButtonWithNetworkSwitch from '../../Button/ConnectWithNetworkSwitch'
import List, { ListItem } from '../../List/List'
import BatchPurchaseModal from '../../Modal/BatchPurchase'
import Price, { formatPrice } from '../../Price/Price'
import Price from '../../Price/Price'
import CartItemSummary from '../ItemSummary'

type Props = {
Expand Down Expand Up @@ -190,7 +190,7 @@ const CartStepTransaction: FC<Props> = ({
isLoading={approvalLoading[item.currency.id] || false}
>
{t('cart.step.transaction.button.approve', {
value: formatPrice(item.amount, item.currency),
value: item.currency.symbol,
})}
</ConnectButtonWithNetworkSwitch>
) : balances[item.currency.id] &&
Expand Down

0 comments on commit 32b4203

Please sign in to comment.