fix: RetryButton & SupportButton
This commit is contained in:
parent
fd972aadad
commit
290526b933
@ -5,12 +5,13 @@ function handleRetry() {
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
function openSupport() {
|
||||
window.open('https://help.evoleasing.ru', '_blank').focus();
|
||||
}
|
||||
const RetryButton = <Button onClick={handleRetry}>Попробовать еще раз</Button>;
|
||||
|
||||
const RetryButton = <Button action={handleRetry}>Попробовать еще раз</Button>;
|
||||
const SupportButton = <Button action={openSupport}>Обратиться в поддержку</Button>;
|
||||
const SupportButton = (
|
||||
<Button rel="noopener" target="_blank" href="https://help.evoleasing.ru">
|
||||
Обратиться в поддержку
|
||||
</Button>
|
||||
);
|
||||
|
||||
export function CRMError({ error }) {
|
||||
return (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user