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/apps/meteor/client/views/root/AppErrorPage.tsx

23 lines
661 B

import { Box, States, StatesIcon, StatesSubtitle, StatesTitle } from '@rocket.chat/fuselage';
import type { ErrorInfo, ReactElement } from 'react';
import React from 'react';
type AppErrorPageProps = {
error: Error;
info?: ErrorInfo;
clearError: () => void;
};
const AppErrorPage = (_props: AppErrorPageProps): ReactElement => {
return (
<Box display='flex' justifyContent='center' height='full' backgroundColor='surface'>
<States>
<StatesIcon name='error-circle' />
<StatesTitle>Application Error</StatesTitle>
<StatesSubtitle>The application GUI just crashed.</StatesSubtitle>
</States>
</Box>
);
};
export default AppErrorPage;