update disabled pages

This commit is contained in:
Sean Yesmunt 2019-03-18 11:40:42 -04:00
parent bbe0d637f5
commit beb54a218e
2 changed files with 17 additions and 7 deletions

View file

@ -1,12 +1,17 @@
import React from 'react'; import React from 'react';
import classnames from 'classnames';
import WalletSend from 'component/walletSend'; import WalletSend from 'component/walletSend';
import WalletAddress from 'component/walletAddress'; import WalletAddress from 'component/walletAddress';
import Page from 'component/page'; import Page from 'component/page';
import UnsupportedOnWeb from 'component/common/unsupported-on-web';
const SendReceivePage = () => ( const SendReceivePage = () => (
<Page> <Page>
<WalletSend /> {IS_WEB && <UnsupportedOnWeb />}
<WalletAddress /> <div className={classnames({ 'card--disabled': IS_WEB })}>
<WalletSend />
<WalletAddress />
</div>
</Page> </Page>
); );

View file

@ -1,18 +1,23 @@
import React from 'react'; import React from 'react';
import classnames from 'classnames';
import WalletBalance from 'component/walletBalance'; import WalletBalance from 'component/walletBalance';
import RewardSummary from 'component/rewardSummary'; import RewardSummary from 'component/rewardSummary';
import TransactionListRecent from 'component/transactionListRecent'; import TransactionListRecent from 'component/transactionListRecent';
import WalletAddress from 'component/walletAddress'; import WalletAddress from 'component/walletAddress';
import Page from 'component/page'; import Page from 'component/page';
import UnsupportedOnWeb from 'component/common/unsupported-on-web';
const WalletPage = () => ( const WalletPage = () => (
<Page> <Page>
<div className="columns"> {IS_WEB && <UnsupportedOnWeb />}
<WalletBalance /> <div className={classnames({ 'card--disabled': IS_WEB })}>
<RewardSummary /> <div className='columns'>
<WalletBalance />
<RewardSummary />
</div>
<WalletAddress />
<TransactionListRecent />
</div> </div>
<WalletAddress />
<TransactionListRecent />
</Page> </Page>
); );