wallet tabs

This commit is contained in:
zeppi 2021-08-17 14:46:30 -04:00
parent 78801ae82d
commit b616deb6ef

View file

@ -159,7 +159,7 @@ const WalletPage = (props: Props) => {
return ( return (
<> <>
{/* @if TARGET='web' */} {stripeEnvironment && (
<Page> <Page>
<Tabs onChange={onTabChange} index={tabIndex}> <Tabs onChange={onTabChange} index={tabIndex}>
<TabList className="tabs__list--collection-edit-page"> <TabList className="tabs__list--collection-edit-page">
@ -201,15 +201,18 @@ const WalletPage = (props: Props) => {
</TabPanel> </TabPanel>
<TabPanel> <TabPanel>
<div className="section card-stack"> <div className="section card-stack">
<WalletFiatPaymentBalance transactions={customerTransactions} accountDetails={accountStatusResponse} /> <WalletFiatPaymentBalance
transactions={customerTransactions}
accountDetails={accountStatusResponse}
/>
<WalletFiatPaymentHistory transactions={customerTransactions} /> <WalletFiatPaymentHistory transactions={customerTransactions} />
</div> </div>
</TabPanel> </TabPanel>
</TabPanels> </TabPanels>
</Tabs> </Tabs>
</Page> </Page>
{/* @endif */} )}
{/* @if TARGET='app' */} {!stripeEnvironment && (
<Page> <Page>
{loading && ( {loading && (
<div className="main--empty"> <div className="main--empty">
@ -229,7 +232,7 @@ const WalletPage = (props: Props) => {
</> </>
)} )}
</Page> </Page>
{/* @endif */} )}
</> </>
); );
}; };