Skip to content

Commit 3c2da70

Browse files
committed
Revision 13: Remove obsolete comments and use cleaner arrow function syntax
1 parent ec61cdb commit 3c2da70

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

apps/opik-frontend/src/components/pages-shared/experiments/useExperimentsTableConfig.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,10 @@ export const useExperimentsTableConfig = <
101101
defaultValue: {},
102102
});
103103

104-
const dynamicColumnsIds = useMemo(() => {
105-
return dynamicScoresColumns.map((c) => c.id);
106-
}, [dynamicScoresColumns]);
104+
const dynamicColumnsIds = useMemo(
105+
() => dynamicScoresColumns.map((c) => c.id),
106+
[dynamicScoresColumns],
107+
);
107108

108109
useDynamicColumnsCache({
109110
dynamicColumnsKey: `${storageKeyPrefix}-dynamic-columns`,

0 commit comments

Comments
 (0)