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 });
|
||||
} catch (e) {}
|
||||
|
||||
if (channelName) {
|
||||
if (channelName && name) {
|
||||
// resolve without the channel name so we know the winning bid for it
|
||||
try {
|
||||
const uriLessChannel = buildURI({ streamName: name });
|
||||
|
|
Loading…
Reference in a new issue