From 85a9fdd44ed18fd88aa2b7091bfc496b770e72c3 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Mon, 31 Jul 2023 13:59:09 +0300 Subject: [PATCH] ELT: disable retry failed queries --- apps/web/Components/Calculation/Form/ELT/Kasko.tsx | 1 + apps/web/Components/Calculation/Form/ELT/Osago.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/web/Components/Calculation/Form/ELT/Kasko.tsx b/apps/web/Components/Calculation/Form/ELT/Kasko.tsx index 6481752..413ae47 100644 --- a/apps/web/Components/Calculation/Form/ELT/Kasko.tsx +++ b/apps/web/Components/Calculation/Form/ELT/Kasko.tsx @@ -59,6 +59,7 @@ export const Kasko = observer(() => { }, queryKey: ['elt', 'kasko', id], refetchOnWindowFocus: false, + retry: false, staleTime: STALE_TIME, }; }), diff --git a/apps/web/Components/Calculation/Form/ELT/Osago.tsx b/apps/web/Components/Calculation/Form/ELT/Osago.tsx index b06b2da..cc40166 100644 --- a/apps/web/Components/Calculation/Form/ELT/Osago.tsx +++ b/apps/web/Components/Calculation/Form/ELT/Osago.tsx @@ -54,6 +54,7 @@ export const Osago = observer(() => { }, queryKey: ['elt', 'osago', id], refetchOnWindowFocus: false, + retry: false, staleTime: STALE_TIME, }; }),