aboutsummaryrefslogtreecommitdiff
path: root/src/containers/Notifications/Notifications.tsx
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2020-08-14 05:06:01 +0300
committerGitHub <noreply@github.com>2020-08-14 05:06:01 +0300
commita6d2d1d833116772178125b3e047e0811131c0e0 (patch)
tree022abcb444cda09f98c2d43accc2fdd85aeb2a82 /src/containers/Notifications/Notifications.tsx
parentdc0d09f568ca9eeda4978c4750b548ba81688c23 (diff)
parent1d35dd8a80f0ea72306e96c2229a27798ec75ce9 (diff)
downloadwhich-ui-a6d2d1d833116772178125b3e047e0811131c0e0.tar.gz
Merge pull request #81 from which-ecosystem/better-ux
Handle empty states
Diffstat (limited to 'src/containers/Notifications/Notifications.tsx')
-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>
);
};