From 1f79afaadb5fb0a442fb402e0e092f6206efcc29 Mon Sep 17 00:00:00 2001 From: nikhagra-akamai Date: Mon, 9 Dec 2024 18:28:13 +0530 Subject: [PATCH] upcoming: [DI-20929] - Improve code readability --- .../CloudPulse/shared/CloudPulseDashboardFilterBuilder.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/manager/src/features/CloudPulse/shared/CloudPulseDashboardFilterBuilder.tsx b/packages/manager/src/features/CloudPulse/shared/CloudPulseDashboardFilterBuilder.tsx index 2622e7000b6..ae55e6b2afa 100644 --- a/packages/manager/src/features/CloudPulse/shared/CloudPulseDashboardFilterBuilder.tsx +++ b/packages/manager/src/features/CloudPulse/shared/CloudPulseDashboardFilterBuilder.tsx @@ -230,9 +230,7 @@ export const CloudPulseDashboardFilterBuilder = React.memo( const toggleShowFilter = () => { handleToggleAppliedFilter(showFilter); - setShowFilter((showFilterPrev) => { - return !showFilterPrev; - }); + setShowFilter((showFilterPrev) => !showFilterPrev); }; const RenderFilters = React.useCallback(() => {