Chika 222b0b0e74 pages: add CRM graphql connection error
pages: use fetch data hooks (fetch all gql data on client)
mocks: use process.env variables
2022-11-07 17:43:14 +03:00

14 lines
430 B
JavaScript
Raw 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 'Elements/Button';
import Result from '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} />;
}