aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/NotificationsPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/settings/NotificationsPage.js')
-rw-r--r--modern/src/settings/NotificationsPage.js13
1 files changed, 3 insertions, 10 deletions
diff --git a/modern/src/settings/NotificationsPage.js b/modern/src/settings/NotificationsPage.js
index 9229e8f1..f1e70a85 100644
--- a/modern/src/settings/NotificationsPage.js
+++ b/modern/src/settings/NotificationsPage.js
@@ -2,7 +2,6 @@ import React, { useState } from 'react';
import {
Table, TableRow, TableCell, TableHead, TableBody,
} from '@mui/material';
-import makeStyles from '@mui/styles/makeStyles';
import { useEffectAsync } from '../reactHelper';
import { prefixString } from '../common/util/stringUtils';
import { formatBoolean } from '../common/util/formatter';
@@ -13,16 +12,10 @@ import CollectionFab from './components/CollectionFab';
import CollectionActions from './components/CollectionActions';
import TableShimmer from '../common/components/TableShimmer';
import SearchHeader, { filterByKeyword } from './components/SearchHeader';
-
-const useStyles = makeStyles((theme) => ({
- columnAction: {
- width: '1%',
- paddingRight: theme.spacing(1),
- },
-}));
+import useSettingsStyles from './common/useSettingsStyles';
const NotificationsPage = () => {
- const classes = useStyles();
+ const classes = useSettingsStyles();
const t = useTranslation();
const [timestamp, setTimestamp] = useState(Date.now());
@@ -58,7 +51,7 @@ const NotificationsPage = () => {
return (
<PageLayout menu={<SettingsMenu />} breadcrumbs={['settingsTitle', 'sharedNotifications']}>
<SearchHeader keyword={searchKeyword} setKeyword={setSearchKeyword} />
- <Table>
+ <Table className={classes.table}>
<TableHead>
<TableRow>
<TableCell>{t('notificationType')}</TableCell>