lbry-desktop/src/ui/page/account/view.jsx

41 lines
1.1 KiB
React
Raw Normal View History

// @flow
import React from 'react';
2019-08-23 16:21:53 +02:00
import classnames from 'classnames';
import RewardSummary from 'component/rewardSummary';
2019-06-17 22:32:38 +02:00
import RewardTotal from 'component/rewardTotal';
2018-03-26 23:32:43 +02:00
import Page from 'component/page';
2019-08-23 16:21:53 +02:00
import UnsupportedOnWeb from 'component/common/unsupported-on-web';
2019-06-17 22:32:38 +02:00
import UserEmail from 'component/userEmail';
import InvitePage from 'page/invite';
2019-09-24 02:51:03 +02:00
// import YoutubeChannelList from 'component/youtubeChannelList';
2017-04-22 15:17:01 +02:00
type Props = {
2019-09-24 02:51:03 +02:00
// ytChannels: Array<any>,
};
const AccountPage = (props: Props) => {
2019-09-24 02:51:03 +02:00
// const { ytChannels } = props;
// const hasYoutubeChannels = Boolean(ytChannels.length);
return (
<Page>
{/* @if TARGET='web' */}
<UserEmail />
{/* @endif */}
<UnsupportedOnWeb />
<div className={classnames({ 'card--disabled': IS_WEB })}>
<div className="columns">
<UserEmail />
<div>
<RewardSummary />
<RewardTotal />
</div>
2019-08-23 16:21:53 +02:00
</div>
2019-09-24 02:51:03 +02:00
{/* {hasYoutubeChannels && <YoutubeChannelList />} */}
<InvitePage />
2019-03-18 16:40:42 +01:00
</div>
</Page>
);
};
2017-04-22 15:17:01 +02:00
2019-07-29 18:54:46 +02:00
export default AccountPage;