From 0e20d1615d9bfae39bfef78fbadb6e805e9ea355 Mon Sep 17 00:00:00 2001 From: Peter Dun <46238013+bo-dun-1@users.noreply.github.com> Date: Thu, 2 Jan 2025 20:20:29 -0800 Subject: [PATCH] fix: Wait for submit before fix (#1320) --- src/Form/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Form/index.tsx b/src/Form/index.tsx index 10a65b9e..2db0cacf 100644 --- a/src/Form/index.tsx +++ b/src/Form/index.tsx @@ -1947,6 +1947,7 @@ function Form({ break; } } else if (type === ACTION_GENERATE_QUIK_DOCUMENTS) { + await submitPromise; try { const htmlPayload = await client.generateQuikEnvelopes(action); if (htmlPayload) {