mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-31 01:11:26 +00:00
fix: check name before parse uri called
This commit is contained in:
parent
91cb55c442
commit
c53cffad84
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ function PublishForm(props: Props) {
|
||||||
uri = buildURI({ streamName: name, channelName });
|
uri = buildURI({ streamName: name, channelName });
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
|
|
||||||
if (channelName) {
|
if (channelName && name) {
|
||||||
// resolve without the channel name so we know the winning bid for it
|
// resolve without the channel name so we know the winning bid for it
|
||||||
try {
|
try {
|
||||||
const uriLessChannel = buildURI({ streamName: name });
|
const uriLessChannel = buildURI({ streamName: name });
|
||||||
|
|
Loading…
Add table
Reference in a new issue