Merge pull request #40 from perk11/fix-typo

Update correct state item in openvidu-insecure-react when deleting subscriber
This commit is contained in:
Carlos Santos 2019-04-16 11:33:33 +02:00 committed by GitHub
commit bba47d638b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ class App extends Component {
if (index > -1) {
subscribers.splice(index, 1);
this.setState({
subscriber: subscribers,
subscribers: subscribers,
});
}
}