File size: 400 Bytes
ebf2bde
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { Alert, Flex } from 'antd';

import { useTranslate } from '@/hooks/commonHooks';
import styles from './index.less';

const FileError = () => {
  const { t } = useTranslate('fileManager');
  return (
    <Flex align="center" justify="center" className={styles.errorWrapper}>
      <Alert type="error" message={<h1>{t('fileError')}</h1>}></Alert>
    </Flex>
  );
};

export default FileError;