// @flow import React, { useEffect } from 'react'; import Button from 'component/button'; import ClaimList from 'component/claimList'; import Page from 'component/page'; import Paginate from 'component/common/paginate'; import { PAGE_SIZE } from 'constants/claim'; import WebUploadList from 'component/webUploadList'; type Props = { checkPendingPublishes: () => void, fetchClaimListMine: () => void, fetching: boolean, urls: Array, urlTotal: ?number, history: { replace: string => void }, page: number, }; function FileListPublished(props: Props) { const { checkPendingPublishes, fetchClaimListMine, fetching, urls, urlTotal } = props; useEffect(() => { checkPendingPublishes(); fetchClaimListMine(); }, [checkPendingPublishes, fetchClaimListMine]); return ( {urls && urls.length ? (
} />
) : (

{__('Nothing published to LBRY yet.')}

)}
); } export default FileListPublished;