// @flow import React, { useEffect } from 'react'; import Button from 'component/button'; import ClaimList from 'component/claimList'; import Page from 'component/page'; type Props = { uris: Array, checkPendingPublishes: () => void, fetching: boolean, }; function FileListPublished(props: Props) { const { checkPendingPublishes, fetching, uris } = props; useEffect(() => { checkPendingPublishes(); }, [checkPendingPublishes]); return ( {uris && uris.length ? (
{__('Your Publishes')}} loading={fetching} persistedStorageKey="claim-list-published" uris={uris} defaultSort headerAltControls={
) : (

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

)}
); } export default FileListPublished;