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();
|
||||
reset({
|
||||
title: "",
|
||||
description: "",
|
||||
listPublicId: watch("listPublicId"),
|
||||
labelPublicIds: [],
|
||||
memberPublicIds: [],
|
||||
isCreateAnotherEnabled,
|
||||
position,
|
||||
});
|
||||
|
||||
createCard.mutate({
|
||||
|
||||
Reference in New Issue
Block a user