diff --git a/packages/my-joy-instances/src/containers/create-instance/package.js b/packages/my-joy-instances/src/containers/create-instance/package.js index f6d8b02b..0f41b0b0 100644 --- a/packages/my-joy-instances/src/containers/create-instance/package.js +++ b/packages/my-joy-instances/src/containers/create-instance/package.js @@ -47,10 +47,10 @@ const PackageContainer = ({ packages, selected = {}, sortOrder, + sortBy, handleRowClick, handleResetFilters, handleSortBy, - sortBy, step }) => ( @@ -250,10 +250,10 @@ export default compose( handleSortBy: (newSortBy, sortOrder) => { dispatch([ set({ - name: IC_PKG_V_SORT_BY, + name: IC_PKG_V_SORT_ORDER, value: sortOrder === 'desc' ? 'asc' : 'desc' }), - set({ name: IC_PKG_V_SORT_ORDER, value: newSortBy }) + set({ name: IC_PKG_V_SORT_BY, value: newSortBy }) ]); } })