From c53cffad8497a6d7548c2912db5e3f4f0545a935 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Fri, 30 Aug 2019 12:23:32 -0400 Subject: [PATCH] fix: check name before parse uri called --- src/ui/component/publishForm/view.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/component/publishForm/view.jsx b/src/ui/component/publishForm/view.jsx index c69054d56..305ada592 100644 --- a/src/ui/component/publishForm/view.jsx +++ b/src/ui/component/publishForm/view.jsx @@ -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 });