import { AppErrorDisplay } from '@/error-handler/components/internal/AppErrorDisplay'; import { type AppErrorDisplayProps } from '@/error-handler/types/AppErrorDisplayProps'; import { PageBody } from '@/ui/layout/page/components/PageBody'; import { styled } from '@linaria/react'; import { t } from '@lingui/core/macro'; import { themeCssVariables } from 'twenty-ui/theme-constants'; type AppFullScreenErrorFallbackProps = AppErrorDisplayProps; const StyledContainer = styled.div` background: ${themeCssVariables.background.noisy}; box-sizing: border-box; display: flex; height: 100vh; width: 100vw; padding-top: ${themeCssVariables.spacing[3]}; padding-left: ${themeCssVariables.spacing[3]}; `; export const AppFullScreenErrorFallback = ({ error, resetErrorBoundary, title = t`Sorry, something went wrong`, }: AppFullScreenErrorFallbackProps) => { return ( ); };