lbry-desktop/ui/component/youtubeBadge/index.js
infiinte-persistence cba2ccf1cb Show "YT Creator" label in File Page as well.
## Issue
Closes 3964 `Add Youtuber info to file page`

## Changes
(1) Refactor the YT-info query into `YoutubeBadge` component.
(2) For the File Page case, don't show "- last sync <date>" since the date has nothing to do with the file.

## Test
[x] YT Channel page
[x] YT Channel's claim page
[x] Non YT Channel page
[x] Non YT Channel's claim page
[x] No channel (anonymous) claim page
[x] Various RENDER_MODES
2020-07-15 15:27:03 -04:00

8 lines
196 B
JavaScript

import { connect } from 'react-redux';
import YoutubeBadge from './view';
const select = state => ({});
const perform = dispatch => ({});
export default connect(select, perform)(YoutubeBadge);