Ensure haveStreamingServer Availability is Satisfied

This commit is contained in:
Alexandru Branza 2023-05-29 19:25:19 +03:00
parent 2c7d9251d5
commit 68bba90e30

View file

@ -27,7 +27,7 @@ const Stream = ({ className, addonName, name, description, thumbnail, progress,
null
:
null;
}, [deepLinks]);
}, [deepLinks, haveStreamingServer]);
const onClick = React.useCallback((e) => {
if (href === null) {
// link does not lead to the player, it is expected to