diff --git a/client/src/hooks/useSetBillInput.ts b/client/src/hooks/useSetBillInput.ts index 4f839602a..a14b2a481 100644 --- a/client/src/hooks/useSetBillInput.ts +++ b/client/src/hooks/useSetBillInput.ts @@ -52,6 +52,8 @@ const useSetBillInput = ({setIsAddEditableItem}: UseSetBillInputProps): UseSetBi }, }, ); + } else if (!isEmptyTitle && !isEmptyPrice) { + setIsAddEditableItem(false); } };