diff --git a/src/components/TransactionForm.jsx b/src/components/TransactionForm.jsx index 1169cf0..ca674d9 100644 --- a/src/components/TransactionForm.jsx +++ b/src/components/TransactionForm.jsx @@ -182,8 +182,8 @@ export function TransactionForm({ initial, defaultName, defaultPaymentMethod, on return (
-
-
+
+
- {form.type === 'credit_card' && ( - - )} +
+ + + {errors.type && ( + + )} +
-
- - - {errors.type && ( -

{errors.type}

+ {form.type === 'credit_card' && ( + )} -