Skip to content

Commit

Permalink
chore: Clean redundant dependency from useMemo dep array (#19732)
Browse files Browse the repository at this point in the history
(cherry picked from commit b7759e6)
  • Loading branch information
kgabryje authored and villebro committed Apr 25, 2022
1 parent f8b202f commit 28aa696
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,7 @@ export function DndColumnSelect(props: DndColumnSelectProps) {
[onChange, optionSelector],
);

const popoverOptions = useMemo(
() => Object.values(options),
[optionSelector.values, options],
);
const popoverOptions = useMemo(() => Object.values(options), [options]);

const valuesRenderer = useCallback(
() =>
Expand Down

0 comments on commit 28aa696

Please sign in to comment.