1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-19 05:22:13 +03:00

Merge pull request #3859 from matrix-org/dbkr/new_session_toast

Toasts for new, unverified sessions
This commit is contained in:
David Baker
2020-01-17 14:17:22 +00:00
committed by GitHub
7 changed files with 171 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() {