From bf28a7668143d147215dff99f1f79dc1b1fcaebe Mon Sep 17 00:00:00 2001 From: Brian Ingles Date: Wed, 10 Apr 2024 16:17:08 -0500 Subject: [PATCH] sorting (#366) --- plugins/ui/src/js/src/elements/useListViewProps.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);