diff --git a/src/components/modals/StakeCAP.svelte b/src/components/modals/StakeCAP.svelte index 2e4bf18..b450e41 100644 --- a/src/components/modals/StakeCAP.svelte +++ b/src/components/modals/StakeCAP.svelte @@ -35,7 +35,10 @@ } async function _approveAsset() { + isSubmitting = true; const result = await approveAsset('CAP', 'FundStore'); + isSubmitting = false; + if (!result) return; } async function getBalance() {