This commit is contained in:
Ali Asgar 2023-10-20 15:55:36 +05:30
parent f8f38802a9
commit 3ed7dd3893

View File

@ -393,8 +393,8 @@ export const deleteItem = (itemUid, collectionUid) => (dispatch, getState) => {
});
};
export const sortCollections = () => (dispatch) => {
dispatch(_sortCollections());
export const sortCollections = (payload) => (dispatch) => {
dispatch(_sortCollections(payload));
};
export const moveItem = (collectionUid, draggedItemUid, targetItemUid) => (dispatch, getState) => {
const state = getState();