Skip to content

Commit

Permalink
chore: destChannelNames count issue NMS-21304
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed May 29, 2024
1 parent 5d20e3e commit b26b533
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export default class ChannelMediaRelay
<>
<AgoraTextInput
onChangeText={(text) => {
this.setState({ destChannelNames: text.split(' ') });
this.setState({ destChannelNames: text ? text.split(' ') : [] });
}}
placeholder={'destChannelNames (split by blank)'}
value={destChannelNames.join(' ')}
Expand Down

0 comments on commit b26b533

Please sign in to comment.