Skip to content

Commit 33640e7

Browse files
updated comment
1 parent 104c0b5 commit 33640e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/validators.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ export async function actionsAreValid(
210210

211211
let isValid = true;
212212

213-
// @Sepehr might need to make affirmative instead at some point - F.F. 2022-08-18
213+
// If the form errors are being set properly, this should very rarely be called
214+
// since we are checking for any form action errors prior to calling this function
214215
async function actionIsValid(index: number) {
215216
switch (contextActions[index]?.name) {
216217
case 'withdraw_assets':

0 commit comments

Comments
 (0)