Skip to content

Commit

Permalink
upcoming: [DI-20929] - Improve code readability
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhagra-akamai committed Dec 9, 2024
1 parent d67c01f commit 1f79afa
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,7 @@ export const CloudPulseDashboardFilterBuilder = React.memo(

const toggleShowFilter = () => {
handleToggleAppliedFilter(showFilter);
setShowFilter((showFilterPrev) => {
return !showFilterPrev;
});
setShowFilter((showFilterPrev) => !showFilterPrev);
};

const RenderFilters = React.useCallback(() => {
Expand Down

0 comments on commit 1f79afa

Please sign in to comment.