wallet tabs
This commit is contained in:
parent
78801ae82d
commit
b616deb6ef
1 changed files with 73 additions and 70 deletions
|
@ -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 */}
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue