Skip to content

Commit 555d528

Browse files
committed
fix
1 parent bf69384 commit 555d528

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

src/ui/pages/Lending/LoanDetail.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,7 @@ export default function LoanDetailScreen() {
768768
</Button>
769769
<Button
770770
preset="primary"
771+
style={{ flex: 1 }}
771772
onClick={() => {
772773
navigate('LoanDepositScreen', {
773774
borrowAmount: loan.borrow_amount.amount,

src/ui/pages/Main/RegisterEvmAddress.tsx

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import BigNumber from 'bignumber.js';
22
import { ethers } from 'ethers';
33
import { useEffect, useMemo } from 'react';
44

5-
import { Button, Column, Content, Footer, Header, Icon, Input, Layout, LightTooltip, Row, Text } from '@/ui/components';
5+
import { Button, Column, Content, Header, Icon, Input, Layout, LightTooltip, Row, Text } from '@/ui/components';
66
import ImageIcon from '@/ui/components/ImageIcon';
77
import { useSend } from '@/ui/hooks/useSend';
88
import { useEnvironment } from '@/ui/state/environment/hooks';
@@ -179,21 +179,20 @@ export default function RegisterEvmAddress() {
179179
setUiState({ memo: val.target.value });
180180
}}
181181
/>
182+
<Button
183+
style={{ marginTop: '16px', width: '100%' }}
184+
preset="primary"
185+
text={+inputAmount > +available ? 'Insufficient Balance' : 'Confirm'}
186+
disabled={disabled}
187+
onClick={() => {
188+
handleSubmit({
189+
text: 'Please follow us on X and stay tuned for further announcements regarding the TGE.',
190+
title: 'Registration completed!'
191+
});
192+
}}
193+
/>
182194
</Column>
183195
</Content>
184-
<Footer px="zero" py="zero">
185-
<Button
186-
preset="primary"
187-
text={+inputAmount > +available ? 'Insufficient Balance' : 'Confirm'}
188-
disabled={disabled}
189-
onClick={() => {
190-
handleSubmit({
191-
text: 'Please follow us on X and stay tuned for further announcements regarding the TGE.',
192-
title: 'Registration completed!'
193-
});
194-
}}
195-
/>
196-
</Footer>
197196
</Layout>
198197
);
199198
}

0 commit comments

Comments
 (0)