diff options
author | jbion <joffrey.bion@amadeus.com> | 2017-05-19 20:17:35 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2017-05-20 00:12:39 +0200 |
commit | a13f913c6a594a14a2cb9ab42dbd0493372583fb (patch) | |
tree | 2ac200b06532b7be09b0192a4455ab132cd5010b /frontend/src/layouts/HomeLayout.js | |
parent | Set versions of packages to latest (diff) | |
download | seven-wonders-a13f913c6a594a14a2cb9ab42dbd0493372583fb.tar.gz seven-wonders-a13f913c6a594a14a2cb9ab42dbd0493372583fb.tar.bz2 seven-wonders-a13f913c6a594a14a2cb9ab42dbd0493372583fb.zip |
Add error toasts
Diffstat (limited to 'frontend/src/layouts/HomeLayout.js')
-rw-r--r-- | frontend/src/layouts/HomeLayout.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/frontend/src/layouts/HomeLayout.js b/frontend/src/layouts/HomeLayout.js index 4b93a163..76236383 100644 --- a/frontend/src/layouts/HomeLayout.js +++ b/frontend/src/layouts/HomeLayout.js @@ -1,9 +1,8 @@ import React from 'react' -import { - Banner -} from 'rebass' +import { Banner } from 'rebass' import logo from './logo-7-wonders.png' import background from './background-zeus-temple.jpg' +import ReduxToastr from 'react-redux-toastr' export default (props) => ( <div> @@ -11,5 +10,10 @@ export default (props) => ( <img src={logo} alt="Seven Wonders"/> {props.children} </Banner> + <ReduxToastr + timeOut={4000} + preventDuplicates + position="bottom-left" + progressBar/> </div> ) |