// @flow import React from 'react'; import Lbry from 'lbry'; import Button from 'component/button'; import Spinner from 'component/spinner'; type Props = { reflectingInfo?: ReflectingUpdate, checkReflecting: () => void, }; const PublishPending = (props: Props) => { const { reflectingInfo = {}, checkReflecting } = props; const { fileListItem, progress, stalled } = reflectingInfo; const sdHash = fileListItem && fileListItem.sd_hash; const reflecting = Object.keys(reflectingInfo).length; if (stalled) { return (