mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
fix countSeen
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
c464abaa49
commit
4e67e46863
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export default class ToastContainer extends React.Component<{}, IState> {
|
|||
super(props, context);
|
||||
this.state = {
|
||||
toasts: ToastStore.sharedInstance().getToasts(),
|
||||
countSeen: 0,
|
||||
countSeen: ToastStore.sharedInstance().getCountSeen(),
|
||||
};
|
||||
|
||||
// Start listening here rather than in componentDidMount because
|
||||
|
|
Loading…
Reference in a new issue