mirror of
https://github.com/apache/superset.git
synced 2024-09-06 13:57:40 -04:00
chore: Clean redundant dependency from useMemo dep array (#19732)
This commit is contained in:
parent
ce77d55396
commit
b7759e6fd1
@ -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(
|
||||
() =>
|
||||
|
Loading…
Reference in New Issue
Block a user