Chore desktop cleanup #6896

Merged
jessopb merged 8 commits from chore-desktopCleanup into master 2021-08-18 00:34:17 +02:00
Showing only changes of commit b616deb6ef - Show all commits

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 */} )}
</> </>
); );
}; };