fix countSeen

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-05-22 14:29:30 +01:00
parent c464abaa49
commit 4e67e46863

View file

@ -28,7 +28,7 @@ export default class ToastContainer extends React.Component<{}, IState> {
super(props, context); super(props, context);
this.state = { this.state = {
toasts: ToastStore.sharedInstance().getToasts(), toasts: ToastStore.sharedInstance().getToasts(),
countSeen: 0, countSeen: ToastStore.sharedInstance().getCountSeen(),
}; };
// Start listening here rather than in componentDidMount because // Start listening here rather than in componentDidMount because