From 32973c44e5be7121d30ccc2faee4ad13726f3517 Mon Sep 17 00:00:00 2001 From: DoraCretu594118 <103416234+doracretu3pillar@users.noreply.github.com> Date: Thu, 14 Nov 2024 11:34:53 +0200 Subject: [PATCH] Fixed prettier --- public/app/percona/inventory/Tabs/Services.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/public/app/percona/inventory/Tabs/Services.tsx b/public/app/percona/inventory/Tabs/Services.tsx index b1f05b8b6fce0..786e7491ecb58 100644 --- a/public/app/percona/inventory/Tabs/Services.tsx +++ b/public/app/percona/inventory/Tabs/Services.tsx @@ -73,10 +73,13 @@ export const Services = () => { }, []); useEffect(() => { - if(!fetchedServices) { + if (!fetchedServices) { setIsLoading(true); } - loadData().then(() => { triggerTimeout(loadData, DATA_INTERVAL); setIsLoading(false) }); + loadData().then(() => { + triggerTimeout(loadData, DATA_INTERVAL); + setIsLoading(false); + }); // eslint-disable-next-line react-hooks/exhaustive-deps }, [loadData]);