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