// @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'; type Props = { checkPendingPublishes: () => void, fetching: boolean, uris: Array, uriTotal: ?number, history: { replace: string => void }, page: number, }; function FileListPublished(props: Props) { const { checkPendingPublishes, fetching, uris, uriTotal } = props; useEffect(() => { checkPendingPublishes(); }, [checkPendingPublishes]); return ( {uris && uris.length ? (
} />
) : (

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

)}
); } export default FileListPublished;