Skip to content

Commit

Permalink
Avoid re-formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv committed Dec 27, 2023
1 parent ebb84a2 commit 5d2f4df
Showing 1 changed file with 18 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,29 +332,31 @@ export function ServiceList({
kuery,
});

const serviceColumns = useMemo(() => {
return getServiceColumns({
const serviceColumns = useMemo(
() =>
getServiceColumns({
query,
showTransactionTypeColumn,
comparisonDataLoading,
comparisonData,
breakpoints,
showHealthStatusColumn: displayHealthStatus,
showAlertsColumn: displayAlerts,
link,
serviceOverflowCount,
}),
[
query,
showTransactionTypeColumn,
comparisonDataLoading,
comparisonData,
breakpoints,
showHealthStatusColumn: displayHealthStatus,
showAlertsColumn: displayAlerts,
displayHealthStatus,
displayAlerts,
link,
serviceOverflowCount,
});
}, [
query,
showTransactionTypeColumn,
comparisonDataLoading,
comparisonData,
breakpoints,
displayHealthStatus,
displayAlerts,
link,
serviceOverflowCount,
]);
]
);

const handleSort = useCallback(
(itemsToSort, sortField, sortDirection) =>
Expand Down

0 comments on commit 5d2f4df

Please sign in to comment.