2023-10-06 07:04:55 +00:00
|
|
|
import { Alert } from 'antd';
|
2023-09-05 07:32:16 +00:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
export const ErrorTip: React.FC = React.memo(() => {
|
2023-10-06 07:04:55 +00:00
|
|
|
return <Alert message="An unexpected error has occurred" type="error" />;
|
2023-09-05 07:32:16 +00:00
|
|
|
});
|
|
|
|
ErrorTip.displayName = 'ErrorTip';
|