The communications platform that puts data protection first.
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.
 
 
 
 
 
Rocket.Chat/client/components/NotAuthorizedPage.tsx

21 lines
475 B

import { Box } from '@rocket.chat/fuselage';
import React, { ReactElement } from 'react';
import { useTranslation } from '../contexts/TranslationContext';
import Page from './Page';
const NotAuthorizedPage = (): ReactElement => {
const t = useTranslation();
return (
<Page>
<Page.Content pb='x24'>
<Box is='p' fontScale='p2'>
{t('You_are_not_authorized_to_view_this_page')}
</Box>
</Page.Content>
</Page>
);
};
export default NotAuthorizedPage;