diff --git a/src/js/app.tsx b/src/js/app.tsx index 926bfcc..7dfe717 100644 --- a/src/js/app.tsx +++ b/src/js/app.tsx @@ -64,9 +64,11 @@ export class App extends React.Component { } updateSelect(selected: string): void { - this.setState((state) => { - return { streamList: state.streamList, selectedStream: selected } - }) + if (selected !== this.state.selectedStream) { + this.setState((state) => { + return { streamList: state.streamList, selectedStream: selected } + }) + } } render() {