Fixed validation and added toasts

This commit is contained in:
Ildar Kamalov
2019-01-21 11:55:39 +03:00
committed by Eugene Bujak
parent 2bd4840ba5
commit a7416f9c34
9 changed files with 68 additions and 34 deletions

View File

@@ -13,6 +13,7 @@ import Devices from './Devices';
import Submit from './Submit';
import Progress from './Progress';
import Toasts from '../../components/Toasts';
import Footer from '../../components/ui/Footer';
import logo from '../../components/ui/svg/logo.svg';
@@ -85,6 +86,7 @@ class Setup extends Component {
</div>
</div>
<Footer />
<Toasts />
</Fragment>
}
</Fragment>
@@ -104,8 +106,8 @@ Setup.propTypes = {
};
const mapStateToProps = (state) => {
const { install } = state;
const props = { install };
const { install, toasts } = state;
const props = { install, toasts };
return props;
};