1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-17 17:42:41 +03:00

Toasts for new, unverified sessions

Fixes https://github.com/vector-im/riot-web/issues/11218
This commit is contained in:
David Baker
2020-01-17 11:43:35 +00:00
parent 8cdce8fee0
commit 9e43abaf3a
7 changed files with 169 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ import classNames from "classnames";
export default class ToastContainer extends React.Component {
constructor() {
super();
this.state = {toasts: []};
this.state = {toasts: ToastStore.sharedInstance().getToasts()};
}
componentDidMount() {