ref: Refactoring

This commit is contained in:
Maksim Eltyshev
2025-11-27 18:24:55 +01:00
parent 7be2343076
commit 54e230d4c1
80 changed files with 252 additions and 159 deletions
+3 -3
View File
@@ -28,8 +28,8 @@ const createCard = (listId, data, index, autoOpen = false) => ({
},
});
const createCardInFirstFiniteList = (data, index = 0, autoOpen = false) => ({
type: EntryActionTypes.CARD_IN_FIRST_FINITE_LIST_CREATE,
const createCardInCurrentContext = (data, index = 0, autoOpen = false) => ({
type: EntryActionTypes.CARD_IN_CURRENT_CONTEXT_CREATE,
payload: {
data,
index,
@@ -180,7 +180,7 @@ export default {
fetchCardsInCurrentList,
handleCardsUpdate,
createCard,
createCardInFirstFiniteList,
createCardInCurrentContext,
createCardInCurrentList,
handleCardCreate,
updateCard,