Skip to content

Commit 84aefe6

Browse files
committed
Merge branch 'develop' of https://github.com/mars-protocol/mars-v2-frontend into develop
2 parents 121f146 + 3491b6e commit 84aefe6

40 files changed

+134
-94
lines changed

src/components/Modals/AccountAssetsModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ export default function AccountAssetsModal() {
4747
onClose={closeModal}
4848
header={`Select assets to repay ${debtAsset.symbol} debt`}
4949
modalClassName='max-w-modal-lg'
50-
headerClassName=' border-b-white/5 border-b items-center p-4'
50+
headerClassName='border-b-white/5 border-b items-center p-4'
5151
>
52-
<div className='px-4 py-3 border-b border-white/5 '>
52+
<div className='px-4 py-3 border-b border-white/5'>
5353
<SearchBar
5454
value={searchString}
5555
placeholder={`Search for e.g. "ATOM" or "Cosmos"`}

src/components/Modals/AddFarmAssets/AddFarmAssetsModalContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default function AddFarmAssetsModalContent(props: Props) {
7777

7878
return (
7979
<>
80-
<div className='px-4 py-3 border-b border-white/5 '>
80+
<div className='px-4 py-3 border-b border-white/5'>
8181
<SearchBar
8282
value={searchString}
8383
placeholder={`Search for e.g. "ATOM" or "Cosmos"`}

src/components/Modals/AddFarmAssets/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default function AddFarmBorrowAssetsModal() {
2828
header={<Text>Add Assets</Text>}
2929
onClose={onClose}
3030
modalClassName='max-w-modal-xs'
31-
headerClassName=' border-b-white/5 border-b items-center p-4'
31+
headerClassName='border-b-white/5 border-b items-center p-4'
3232
>
3333
{modal ? (
3434
<AddFarmAssetsModalContent

src/components/Modals/Farm/FarmDeposits.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export default function FarmDeposits(props: Props) {
232232
strokeClass='hsl(2, 100%, 69%)'
233233
strokeWidth={3}
234234
/>
235-
<div className='h-full w-[1px] rounded-xl '></div>
235+
<div className='h-full w-[1px] rounded-xl bg-surface-light' />
236236
<Gauge
237237
percentage={secondaryValuePercentage}
238238
tooltip={`${secondaryValuePercentage}% of value is ${secondaryAsset.symbol}`}

src/components/Modals/Farm/FarmModalContentHeader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ export default function FarmModalContentHeader(props: Props) {
8787
}
8888
sub={'Deposit APY'}
8989
/>
90-
<div className='h-100 w-[1px] '></div>
90+
<div className='h-100 w-[1px] bg-surface-light' />
9191
{!deposited.amount.isZero() && (
9292
<>
9393
<TitleAndSubCell title={<DisplayCurrency coin={deposited} />} sub={'Deposited'} />
94-
<div className='h-100 w-[1px] '></div>
94+
<div className='h-100 w-[1px] bg-surface-light' />
9595
</>
9696
)}
9797
{farm.cap && (

src/components/Modals/LendAndReclaim/DetailsHeader.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function DetailsHeader({ data }: Props) {
3131
}
3232
sub={'APY'}
3333
/>
34-
<div className='h-100 w-[1px] '></div>
34+
<div className='h-100 w-[1px] bg-surface-light' />
3535
</>
3636
)}
3737
{accountLentAmount && (
@@ -44,7 +44,7 @@ function DetailsHeader({ data }: Props) {
4444
}
4545
sub={'Deposited'}
4646
/>
47-
<div className='h-100 w-[1px] '></div>
47+
<div className='h-100 w-[1px] bg-surface-light' />
4848
</>
4949
)}
5050
{balanceInWallet && (
@@ -53,7 +53,7 @@ function DetailsHeader({ data }: Props) {
5353
title={<DisplayCurrency coin={new BNCoin(balanceInWallet)} />}
5454
sub={'In Wallet'}
5555
/>
56-
<div className='h-100 w-[1px] '></div>
56+
<div className='h-100 w-[1px] bg-surface-light' />
5757
</>
5858
)}
5959
<TitleAndSubCell

src/components/Modals/MarsStakingModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export default function MarsStakingModal() {
205205
]}
206206
selected={modalType}
207207
onChange={(v) => handleModeChange(v as 'stake' | 'unstake')}
208-
className=' rounded-lg'
208+
className='rounded-lg'
209209
/>
210210

211211
<div className='space-y-2'>

src/components/Modals/Settings/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ export default function SettingsModal() {
458458
onClick={() => inputRef?.current?.focus()}
459459
color='secondary'
460460
variant='rounded'
461-
className={classNames('w-16', !slippages.includes(slippage) && '')}
461+
className='w-16'
462462
>
463463
<NumberInput
464464
asset={{ decimals: 0, symbol: '%' }}

src/components/Modals/VaultAssets/VaultAssetsModalContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default function VaultAssetsModalContent(props: Props) {
3333

3434
return (
3535
<>
36-
<div className='px-4 py-3 border-b border-white/5 '>
36+
<div className='px-4 py-3 border-b border-white/5'>
3737
<SearchBar
3838
value={searchString}
3939
placeholder={`Search for e.g. "ATOM" or "Cosmos"`}

src/components/Modals/VaultAssets/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function VaultAssetsModal() {
2727
header={<Text>Vault Assets</Text>}
2828
onClose={onClose}
2929
modalClassName='max-w-modal-lg'
30-
headerClassName=' border-b-white/5 border-b items-center p-4'
30+
headerClassName='border-b-white/5 border-b items-center p-4'
3131
dialogId='wallet-assets-modal'
3232
>
3333
<VaultAssetsModalContent

0 commit comments

Comments
 (0)