This commit is contained in:
Tom Moor
2018-12-16 17:57:41 -08:00
parent 3330359c4c
commit 29630e68d2
4 changed files with 14 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
// @flow
import * as React from 'react';
import { observer } from 'mobx-react';
import { observer, inject } from 'mobx-react';
import styled from 'styled-components';
import Toast from './components/Toast';
import UiStore from '../../stores/UiStore';
@@ -41,4 +41,4 @@ const List = styled.ol`
z-index: 1000;
`;
export default Toasts;
export default inject('ui')(Toasts);