From 6bd5a68a767dae5ecd368c046fc02f66689010a1 Mon Sep 17 00:00:00 2001 From: Henry Date: Tue, 19 Nov 2024 17:49:37 +0000 Subject: [PATCH] fix: prevent create another from throwing an error --- src/views/board/components/NewCardForm.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/board/components/NewCardForm.tsx b/src/views/board/components/NewCardForm.tsx index 06a903a3..2591b046 100644 --- a/src/views/board/components/NewCardForm.tsx +++ b/src/views/board/components/NewCardForm.tsx @@ -97,10 +97,12 @@ export function NewCardForm({ listPublicId }: NewCardFormProps) { if (!isCreateAnotherEnabled) closeModal(); reset({ title: "", + description: "", listPublicId: watch("listPublicId"), labelPublicIds: [], memberPublicIds: [], isCreateAnotherEnabled, + position, }); createCard.mutate({