diff --git a/client/src/entry-actions/cards.js b/client/src/entry-actions/cards.js index bbb7521..0596b63 100755 --- a/client/src/entry-actions/cards.js +++ b/client/src/entry-actions/cards.js @@ -47,12 +47,12 @@ const moveCard = (id, listId, index = 0) => ({ }, }); -const copyCard = (id, listId, index = 0) => ({ +const copyCard = (listId, data, autoOpen) => ({ type: EntryActionTypes.CARD_COPY, payload: { - id, listId, - index, + data, + autoOpen, }, });