You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
703 B
21 lines
703 B
import type { NextPage } from 'next';
|
|
import React from 'react';
|
|
import NotificationsEmail from '../../../components/Settings/Notifications/NotificationsEmail';
|
|
import SettingsLayout from '../../../components/Settings/SettingsLayout';
|
|
import SettingsNotifications from '../../../components/Settings/SettingsNotifications';
|
|
import useRouteGuard from '../../../hooks/useRouteGuard';
|
|
import { Permission } from '../../../hooks/useUser';
|
|
|
|
const NotificationsPage: NextPage = () => {
|
|
useRouteGuard(Permission.ADMIN);
|
|
return (
|
|
<SettingsLayout>
|
|
<SettingsNotifications>
|
|
<NotificationsEmail />
|
|
</SettingsNotifications>
|
|
</SettingsLayout>
|
|
);
|
|
};
|
|
|
|
export default NotificationsPage;
|