fix(CardComposer): add card button now creates a card

This commit is contained in:
Jordan Knott 2020-09-18 20:33:15 -05:00
parent 058749cb17
commit 0366b4c7f7

View File

@ -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