diff options
author | eug-vs <eug-vs@keemail.me> | 2020-08-15 14:59:48 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-08-15 14:59:48 +0300 |
commit | 6c6b25ae182fdb5d55e0c5800bf0ba60ac0cede5 (patch) | |
tree | 6ea37de0ea058a90340267110b54e0054df09476 /src/containers/Page/DynoWaiter.tsx | |
parent | 694918dcf0565e14dc4cba69e89907be9bed1544 (diff) | |
download | which-ui-6c6b25ae182fdb5d55e0c5800bf0ba60ac0cede5.tar.gz |
feat: use more cool image
Diffstat (limited to 'src/containers/Page/DynoWaiter.tsx')
-rw-r--r-- | src/containers/Page/DynoWaiter.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/containers/Page/DynoWaiter.tsx b/src/containers/Page/DynoWaiter.tsx index 05d269f..92255da 100644 --- a/src/containers/Page/DynoWaiter.tsx +++ b/src/containers/Page/DynoWaiter.tsx @@ -7,9 +7,7 @@ import React, { import { makeStyles } from '@material-ui/core/styles'; import { get } from '../../requests'; import Loading from '../../components/Loading/Loading'; -import Image from '../../components/Image/Image'; -import Message from '../../components/Message/Message'; -import coffeIcon from '../../assets/coffeeBreak.svg'; +import EmptyState from '../../components/EmptyState/EmptyState'; const DYNO_WAKEUP_TIME = 30; @@ -67,8 +65,8 @@ const DynoWaiter: React.FC = ({ children }) => { <> {!isReady && ( <> - <Loading message={message} tagline={message && 'Waiting for the server'} /> - {message && <Message><Image src={coffeIcon} className={classes.img} /></Message>} + <Loading /> + {message && <EmptyState variant="waiting" smart message={message} />} </> )} <div className={isReady ? '' : classes.hidden}> |