diff options
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}> |