* feat: add foundation for tooltips * fix: add lang * refactor: remove React import where no longer necessary
21 lines
791 B
TypeScript
21 lines
791 B
TypeScript
import type { NextPage } from 'next';
|
|
|
|
import UserSettings from '../../../../../components/UserProfile/UserSettings';
|
|
import UserNotificationSettings from '../../../../../components/UserProfile/UserSettings/UserNotificationSettings';
|
|
import UserNotificationsPushbullet from '../../../../../components/UserProfile/UserSettings/UserNotificationSettings/UserNotificationsPushbullet';
|
|
import useRouteGuard from '../../../../../hooks/useRouteGuard';
|
|
import { Permission } from '../../../../../hooks/useUser';
|
|
|
|
const NotificationsPage: NextPage = () => {
|
|
useRouteGuard(Permission.MANAGE_USERS);
|
|
return (
|
|
<UserSettings>
|
|
<UserNotificationSettings>
|
|
<UserNotificationsPushbullet />
|
|
</UserNotificationSettings>
|
|
</UserSettings>
|
|
);
|
|
};
|
|
|
|
export default NotificationsPage;
|