* feat: add foundation for tooltips * fix: add lang * refactor: remove React import where no longer necessary
21 lines
680 B
TypeScript
21 lines
680 B
TypeScript
import type { NextPage } from 'next';
|
|
|
|
import NotificationsGotify from '../../../components/Settings/Notifications/NotificationsGotify';
|
|
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>
|
|
<NotificationsGotify />
|
|
</SettingsNotifications>
|
|
</SettingsLayout>
|
|
);
|
|
};
|
|
|
|
export default NotificationsPage;
|