diff --git a/example/src/examples/advanced/ChannelMediaRelay/ChannelMediaRelay.tsx b/example/src/examples/advanced/ChannelMediaRelay/ChannelMediaRelay.tsx index 57e6fe45..16bf0196 100644 --- a/example/src/examples/advanced/ChannelMediaRelay/ChannelMediaRelay.tsx +++ b/example/src/examples/advanced/ChannelMediaRelay/ChannelMediaRelay.tsx @@ -191,7 +191,7 @@ export default class ChannelMediaRelay <> { - this.setState({ destChannelNames: text.split(' ') }); + this.setState({ destChannelNames: text ? text.split(' ') : [] }); }} placeholder={'destChannelNames (split by blank)'} value={destChannelNames.join(' ')}