diff --git a/app/src/Dashboard.jsx b/app/src/Dashboard.jsx index 8c3a3ee2..4fc12428 100644 --- a/app/src/Dashboard.jsx +++ b/app/src/Dashboard.jsx @@ -16,8 +16,8 @@ import IconButton from '@material-ui/core/IconButton'; import Container from '@material-ui/core/Container'; import Link from '@material-ui/core/Link'; import MenuIcon from '@material-ui/icons/Menu'; -/* import Badge from '@material-ui/core/Badge'; +/* import NotificationsIcon from '@material-ui/icons/Notifications'; */ @@ -151,6 +151,7 @@ const Dashboard = (props) => { const handleDrawerClose = () => { setOpen(false); }; + const shouldShowUpdateBadge = useMediaQuery(createMuiTheme().breakpoints.down('md')) && props.newServiceWorkerDetected; return ( @@ -165,7 +166,9 @@ const Dashboard = (props) => { onClick={handleDrawerOpen} className={clsx(classes.menuButton, open && classes.menuButtonHidden)} > - + + + { t("Covid Data") }{' '}