mirror of
https://github.com/Readarr/Readarr
synced 2025-12-30 20:25:18 +01:00
20 lines
552 B
JavaScript
20 lines
552 B
JavaScript
import React from 'react';
|
|
import ErrorBoundaryError from 'Components/Error/ErrorBoundaryError';
|
|
import translate from 'Utilities/String/translate';
|
|
import PageContentBody from './PageContentBody';
|
|
import styles from './PageContentError.css';
|
|
|
|
function PageContentError(props) {
|
|
return (
|
|
<div className={styles.content}>
|
|
<PageContentBody>
|
|
<ErrorBoundaryError
|
|
{...props}
|
|
message={translate('ThereWasAnErrorLoadingThisPage')}
|
|
/>
|
|
</PageContentBody>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default PageContentError;
|