// @flow import React, { useEffect } from 'react'; import Button from 'component/button'; import FileList from 'component/fileList'; import Page from 'component/page'; type Props = { claims: Array, checkPendingPublishes: () => void, fetching: boolean, }; function FileListPublished(props: Props) { const { checkPendingPublishes, fetching, claims } = props; useEffect(() => { checkPendingPublishes(); }, [checkPendingPublishes]); return ( {claims && claims.length ? (
`lbry://${info.name}#${info.claim_id}`)} />
) : (

{__("It looks like you haven't published anything to LBRY yet.")}

)}
); } export default FileListPublished;