more stripe only on web

This commit is contained in:
zeppi 2021-07-03 14:32:06 -04:00 committed by jessopb
parent 270049316e
commit 89576572f5
2 changed files with 5 additions and 2 deletions

View file

@ -205,7 +205,7 @@ class SettingsPage extends React.PureComponent<Props, State> {
}} }}
className="card-stack" className="card-stack"
> >
{/* @if TARGET='web' */}
<Card <Card
title={__('Add card to tip creators in USD')} title={__('Add card to tip creators in USD')}
actions={ actions={
@ -219,6 +219,7 @@ class SettingsPage extends React.PureComponent<Props, State> {
</div> </div>
} }
/> />
{/* @endif */}
<Card title={__('Language')} actions={<SettingLanguage />} /> <Card title={__('Language')} actions={<SettingLanguage />} />
{homepages && Object.keys(homepages).length > 1 && ( {homepages && Object.keys(homepages).length > 1 && (

View file

@ -9,7 +9,7 @@ import Spinner from 'component/spinner';
import YrblWalletEmpty from 'component/yrblWalletEmpty'; import YrblWalletEmpty from 'component/yrblWalletEmpty';
type Props = { type Props = {
history: { action: string, push: string => void, replace: string => void }, history: { action: string, push: (string) => void, replace: (string) => void },
location: { search: string, pathname: string }, location: { search: string, pathname: string },
totalBalance: ?number, totalBalance: ?number,
}; };
@ -34,7 +34,9 @@ const WalletPage = (props: Props) => {
) : ( ) : (
<div className="card-stack"> <div className="card-stack">
<WalletBalance /> <WalletBalance />
{/* @if TARGET='web' */}
<StripeAccountConnection /> <StripeAccountConnection />
{/* @endif */}
<TxoList search={search} /> <TxoList search={search} />
</div> </div>
)} )}