make sure auto subscribe works with empty value in config

This commit is contained in:
Sean Yesmunt 2020-08-26 17:00:10 -04:00
parent 8af8a97344
commit a386b4dc7e

View file

@ -25,12 +25,14 @@ function UserChannelFollowIntro(props: Props) {
// subscribe to lbry
useEffect(() => {
if (channelsToSubscribe && channelsToSubscribe.length) {
channelsToSubscribe.forEach(c =>
channelSubscribe({
channelName: parseURI(c).claimName,
uri: c,
})
);
}
}, []);
return (