fix: prevent create another from throwing an error
This commit is contained in:
@@ -97,10 +97,12 @@ export function NewCardForm({ listPublicId }: NewCardFormProps) {
|
|||||||
if (!isCreateAnotherEnabled) closeModal();
|
if (!isCreateAnotherEnabled) closeModal();
|
||||||
reset({
|
reset({
|
||||||
title: "",
|
title: "",
|
||||||
|
description: "",
|
||||||
listPublicId: watch("listPublicId"),
|
listPublicId: watch("listPublicId"),
|
||||||
labelPublicIds: [],
|
labelPublicIds: [],
|
||||||
memberPublicIds: [],
|
memberPublicIds: [],
|
||||||
isCreateAnotherEnabled,
|
isCreateAnotherEnabled,
|
||||||
|
position,
|
||||||
});
|
});
|
||||||
|
|
||||||
createCard.mutate({
|
createCard.mutate({
|
||||||
|
|||||||
Reference in New Issue
Block a user