small optimization
This commit is contained in:
parent
c59c093be6
commit
501f0ed150
1 changed files with 3 additions and 1 deletions
|
@ -159,6 +159,8 @@ const WalletPage = (props: Props) => {
|
||||||
} else if (tab === 'payment-history'){
|
} else if (tab === 'payment-history'){
|
||||||
// } else if (1 === 2){
|
// } else if (1 === 2){
|
||||||
focusPaymentHistoryTab();
|
focusPaymentHistoryTab();
|
||||||
|
} else {
|
||||||
|
focusLBCTab()
|
||||||
}
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
@ -172,7 +174,7 @@ const WalletPage = (props: Props) => {
|
||||||
{/* tabs to switch between fiat and lbc */}
|
{/* tabs to switch between fiat and lbc */}
|
||||||
{/* lbc button */}
|
{/* lbc button */}
|
||||||
<h2 className="lbc-tab-switcher"
|
<h2 className="lbc-tab-switcher"
|
||||||
style={{display: 'inline-block', paddingBottom: '16px', marginRight: '14px', textUnderlineOffset: '4px', textDecoration: 'underline', fontSize: '18px', marginLeft: '3px'}}
|
style={{display: 'inline-block', paddingBottom: '16px', marginRight: '14px', textUnderlineOffset: '4px', fontSize: '18px', marginLeft: '3px'}}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
focusLBCTab();
|
focusLBCTab();
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in a new issue