feat: Open card once created with Ctrl+Enter (#373)

This commit is contained in:
RAR
2023-01-09 01:59:24 +05:00
committed by GitHub
parent 58eda7d555
commit 66aa2c36bb
6 changed files with 38 additions and 23 deletions
+2 -1
View File
@@ -1,10 +1,11 @@
import EntryActionTypes from '../constants/EntryActionTypes';
const createCard = (listId, data) => ({
const createCard = (listId, data, autoOpen) => ({
type: EntryActionTypes.CARD_CREATE,
payload: {
listId,
data,
autoOpen,
},
});