diff --git a/plugins/ui/src/js/src/elements/useListViewProps.ts b/plugins/ui/src/js/src/elements/useListViewProps.ts index 1dc8cefe6..d4b33d721 100644 --- a/plugins/ui/src/js/src/elements/useListViewProps.ts +++ b/plugins/ui/src/js/src/elements/useListViewProps.ts @@ -50,11 +50,11 @@ export function useListViewProps(props: SerializedListViewEventProps & T) { ...otherProps } = props; + const serializedOnChange = useSelectionEventCallback(onChange); const serializedOnFocus = useFocusEventCallback(onFocus); const serializedOnBlur = useFocusEventCallback(onBlur); const serializedOnKeyDown = useKeyboardEventCallback(onKeyDown); const serializedOnKeyUp = useKeyboardEventCallback(onKeyUp); - const serializedOnChange = useSelectionEventCallback(onChange); const serializedOnSelectionChange = useSelectionEventCallback(onSelectionChange);