lbry-desktop/src/ui/page/discover/view.jsx
2019-07-01 14:53:46 -04:00

25 lines
557 B
JavaScript

// @flow
import React from 'react';
import ClaimListDiscover from 'component/claimListDiscover';
import TagsSelect from 'component/tagsSelect';
import Page from 'component/page';
type Props = {
followedTags: Array<Tag>,
};
function DiscoverPage(props: Props) {
const { followedTags } = props;
return (
<Page>
<ClaimListDiscover
personal
tags={followedTags.map(tag => tag.name)}
injectedItem={<TagsSelect showClose title={__('Customize Your Homepage')} />}
/>
</Page>
);
}
export default DiscoverPage;