aboutsummaryrefslogtreecommitdiff
path: root/src/containers
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-08-14 04:59:45 +0300
committereug-vs <eug-vs@keemail.me>2020-08-14 04:59:45 +0300
commit1d35dd8a80f0ea72306e96c2229a27798ec75ce9 (patch)
tree022abcb444cda09f98c2d43accc2fdd85aeb2a82 /src/containers
parentc30f59c85d8c57a9250635d96e3a295345c45ba7 (diff)
downloadwhich-ui-1d35dd8a80f0ea72306e96c2229a27798ec75ce9.tar.gz
feat: use EmptyState variants
Diffstat (limited to 'src/containers')
-rw-r--r--src/containers/Notifications/Notifications.tsx11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/containers/Notifications/Notifications.tsx b/src/containers/Notifications/Notifications.tsx
index 0648eb5..2a9ea13 100644
--- a/src/containers/Notifications/Notifications.tsx
+++ b/src/containers/Notifications/Notifications.tsx
@@ -1,11 +1,10 @@
import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
-import { Typography } from '@material-ui/core';
+import EmptyState from '../../components/EmptyState/EmptyState';
const useStyles = makeStyles(theme => ({
root: {
- marginTop: theme.spacing(25),
- textAlign: 'center'
+ marginTop: theme.spacing(25)
}
}));
@@ -13,9 +12,9 @@ const Notifications: React.FC = () => {
const classes = useStyles();
return (
- <Typography variant="h4" className={classes.root}>
- Sorry, this page is being constructed yet.
- </Typography>
+ <div className={classes.root}>
+ <EmptyState variant="construction" message="We are building this page. Stay tuned." />
+ </div>
);
};