vchikalkin 156c6c51b5 project: use yarn workspaces
(merge branch release/monorepo)
2022-12-20 22:04:45 +03:00

14 lines
436 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* eslint-disable import/prefer-default-export */
import Button from 'ui/elements/Button';
import Result from 'ui/elements/Result';
function handleRetry() {
window.location.reload();
}
const RetryButton = <Button action={handleRetry} text="Попробовать еще раз" />;
export function CRMError() {
return <Result status="500" title="500" subTitle="Ошибка соединения с CRM" extra={RetryButton} />;
}