Fix polling from fileRenderInitiator logic
This commit is contained in:
parent
810692ca29
commit
d79ce20802
1 changed files with 2 additions and 1 deletions
|
@ -105,7 +105,8 @@ export default function FileRenderInitiator(props: Props) {
|
|||
history.push(`/$/${PAGES.AUTH}?redirect=${encodeURIComponent(pathname)}`);
|
||||
}
|
||||
|
||||
useFetchLiveStatus(livestreamPage ? undefined : channelClaimId, doFetchChannelLiveStatus);
|
||||
// in case of a livestream outside of the livestream page component, like embed
|
||||
useFetchLiveStatus(isLivestreamClaim && !livestreamPage ? channelClaimId : undefined, doFetchChannelLiveStatus);
|
||||
|
||||
const thumbnail = useThumbnail(claimThumbnail, containerRef);
|
||||
|
||||
|
|
Loading…
Reference in a new issue