fix(CardComposer): add card button now creates a card
This commit is contained in:
parent
058749cb17
commit
0366b4c7f7
@ -26,10 +26,9 @@ const CardComposer = ({ isOpen, onCreateCard, onClose }: Props) => {
|
|||||||
useOnOutsideClick($cardRef, true, onClose, null);
|
useOnOutsideClick($cardRef, true, onClose, null);
|
||||||
useOnEscapeKeyDown(isOpen, onClose);
|
useOnEscapeKeyDown(isOpen, onClose);
|
||||||
return (
|
return (
|
||||||
<CardComposerWrapper isOpen={isOpen}>
|
<CardComposerWrapper isOpen={isOpen} ref={$cardRef}>
|
||||||
<Card
|
<Card
|
||||||
title={cardName}
|
title={cardName}
|
||||||
ref={$cardRef}
|
|
||||||
taskID=""
|
taskID=""
|
||||||
taskGroupID=""
|
taskGroupID=""
|
||||||
editable
|
editable
|
||||||
|
Loading…
Reference in New Issue
Block a user