[feat] Add LiveStreaming Support #5691
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ export default function LivestreamLink(props: Props) {
|
||||||
const { channelClaim } = props;
|
const { channelClaim } = props;
|
||||||
const [livestreamClaim, setLivestreamClaim] = React.useState(false);
|
const [livestreamClaim, setLivestreamClaim] = React.useState(false);
|
||||||
const [isLivestreaming, setIsLivestreaming] = React.useState(false);
|
const [isLivestreaming, setIsLivestreaming] = React.useState(false);
|
||||||
const livestreamChannelId = channelClaim.claim_id;
|
const livestreamChannelId = channelClaim.claim_id || ''; // TODO: fail in a safer way, probably
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
Lbry.claim_search({
|
Lbry.claim_search({
|
||||||
|
|
Loading…
Reference in a new issue