diff --git a/src/components/useList/hooks/useList.ts b/src/components/useList/hooks/useList.ts index 69000f2a74..2446bf5b06 100644 --- a/src/components/useList/hooks/useList.ts +++ b/src/components/useList/hooks/useList.ts @@ -32,9 +32,9 @@ export const useList = ({ const initValues = React.useMemo(() => { return { - expandedById: {...initialValues?.expandedById, ...initialState.expandedById}, - selectedById: {...initialValues?.selectedById, ...initialState.selectedById}, - disabledById: {...initialValues?.disabledById, ...initialState.disabledById}, + expandedById: {...initialState.expandedById, ...initialValues?.expandedById}, + selectedById: {...initialState.selectedById, ...initialValues?.selectedById}, + disabledById: {...initialState.disabledById, ...initialValues?.disabledById}, }; }, [ initialState.disabledById,