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);
useOnEscapeKeyDown(isOpen, onClose);
return (
<CardComposerWrapper isOpen={isOpen}>
<CardComposerWrapper isOpen={isOpen} ref={$cardRef}>
<Card
title={cardName}
ref={$cardRef}
taskID=""
taskGroupID=""
editable