Skip to content

Commit 354bcd8

Browse files
committed
Ape.bond API url updated and fixed missing close buttons in bond modals
1 parent d824821 commit 354bcd8

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/constants/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ import {
6161
import { FeeAmount } from 'v3lib/utils';
6262
import { BondToken } from 'types/bond';
6363

64-
export const bondAPIV2BaseURL = 'https://api-v2.apeswap.finance';
64+
export const bondAPIV2BaseURL = 'https://api.ape.bond';
6565
export const CEX_BILL_ADDRESS = '0x6D7637683eaD28F775F56506602191fdE417fF60';
6666

6767
export const AVERAGE_L1_BLOCK_TIME = 12000;

src/pages/BondsPage/TransferBondModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const TransferBillModal: React.FC<TransferBillModalProps> = ({
4545
<Box p='20px'>
4646
<Box className='flex justify-between border-bottom' pb='16px'>
4747
<h5>{t('tranferBond')}</h5>
48-
<Close />
48+
<Close className='cursor-pointer' onClick={onClose} />
4949
</Box>
5050
<Box className='flex' mt='20px'>
5151
<p>{t('transferring')}: </p>

src/pages/BondsPage/UserBondModalView.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import { formatUnits } from 'ethers/lib/utils';
1818
import { formatNumber } from 'utils';
1919
import { useCurrency, useCurrencyFromSymbol } from 'hooks/Tokens';
2020
import { CurrencyLogo, DoubleCurrencyLogo } from 'components';
21+
import { Close } from '@material-ui/icons';
2122

2223
interface BondModalProps {
2324
onDismiss?: () => void;
@@ -81,6 +82,9 @@ const UserBondModalView: React.FC<BondModalProps> = ({
8182
chainId={chainId}
8283
/>
8384
)}
85+
<Box mb={1} className='flex justify-end'>
86+
<Close className='cursor-pointer' onClick={onDismiss} />
87+
</Box>
8488
<Grid container spacing={2}>
8589
<Grid item xs={12} sm={12} md={6}>
8690
<Box className='flex'>

0 commit comments

Comments
 (0)