Set isPeeking to false if peeking failed
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
6ce7eb952a
commit
f1032bb115
1 changed files with 1 additions and 0 deletions
|
@ -283,6 +283,7 @@ module.exports = React.createClass({
|
|||
// This is fine: the room just isn't peekable (we assume).
|
||||
this.setState({
|
||||
peekLoading: false,
|
||||
isPeeking: false,
|
||||
});
|
||||
} else {
|
||||
throw err;
|
||||
|
|
Loading…
Reference in a new issue