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
807 B
21 lines
807 B
import { NextPage } from 'next';
|
|
import React from 'react';
|
|
import UserSettings from '../../../../../components/UserProfile/UserSettings';
|
|
import UserNotificationSettings from '../../../../../components/UserProfile/UserSettings/UserNotificationSettings';
|
|
import UserWebPushSettings from '../../../../../components/UserProfile/UserSettings/UserNotificationSettings/UserNotificationsWebPush';
|
|
import useRouteGuard from '../../../../../hooks/useRouteGuard';
|
|
import { Permission } from '../../../../../hooks/useUser';
|
|
|
|
const WebPushNotificationsPage: NextPage = () => {
|
|
useRouteGuard(Permission.MANAGE_USERS);
|
|
return (
|
|
<UserSettings>
|
|
<UserNotificationSettings>
|
|
<UserWebPushSettings />
|
|
</UserNotificationSettings>
|
|
</UserSettings>
|
|
);
|
|
};
|
|
|
|
export default WebPushNotificationsPage;
|