Stop rogue verification toast if you verify during login
Fixes https://github.com/vector-im/riot-web/issues/12057
This commit is contained in:
parent
9e38c62791
commit
f851f976e7
2 changed files with 7 additions and 2 deletions
|
@ -23,9 +23,7 @@ export default class ToastContainer extends React.Component {
|
|||
constructor() {
|
||||
super();
|
||||
this.state = {toasts: ToastStore.sharedInstance().getToasts()};
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
ToastStore.sharedInstance().on('update', this._onToastStoreUpdate);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue