braid-ui 1.0.59 → 1.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14765,7 +14765,7 @@ function NewTransaction() {
|
|
|
14765
14765
|
const isReviewReady = useMemo(() => {
|
|
14766
14766
|
const data = form.watch();
|
|
14767
14767
|
const requiresCounterparty = ["ach", "wire"].includes(data.transactionType);
|
|
14768
|
-
if (!data.transactionType || !data.accountNumber || !data.amount) return false;
|
|
14768
|
+
if (!data.transactionType || !data.accountNumber || !data.amount || !data.description) return false;
|
|
14769
14769
|
if (requiresCounterparty && (!data.counterpartyName || !counterpartyLookedUp)) return false;
|
|
14770
14770
|
if (!accountLookedUp) return false;
|
|
14771
14771
|
if (data.transactionType === "adjustment") {
|