We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 104c0b5 commit 33640e7Copy full SHA for 33640e7
src/utils/validators.ts
@@ -210,7 +210,8 @@ export async function actionsAreValid(
210
211
let isValid = true;
212
213
- // @Sepehr might need to make affirmative instead at some point - F.F. 2022-08-18
+ // 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
215
async function actionIsValid(index: number) {
216
switch (contextActions[index]?.name) {
217
case 'withdraw_assets':
0 commit comments