coerce null to empty string for flow
this is a bad way to satisfy flow, probably, but it'll work.
This commit is contained in:
parent
7a327596cd
commit
3446b63768
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ export default function LivestreamLink(props: Props) {
|
|||
const { channelClaim } = props;
|
||||
const [livestreamClaim, setLivestreamClaim] = 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(() => {
|
||||
Lbry.claim_search({
|
||||
|
|
Loading…
Reference in a new issue