Skip to content

Commit

Permalink
chore: Clean redundant dependency from useMemo dep array
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Apr 15, 2022
1 parent c320c29 commit d92866a
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 d92866a

Please sign in to comment.