diff --git a/apps/circuit-compiler/src/app/actions/index.ts b/apps/circuit-compiler/src/app/actions/index.ts index 6a80b992e4..aba210d85c 100644 --- a/apps/circuit-compiler/src/app/actions/index.ts +++ b/apps/circuit-compiler/src/app/actions/index.ts @@ -153,9 +153,9 @@ export const generateProof = async (plugin: CircomPluginClient, appState: AppSta ], _pubSignals: publicSignals }, null, 2)) - dispatch({ type: 'SET_COMPILER_STATUS', payload: 'idle' }) - dispatch({ type: 'SET_PROOF_FEEDBACK', payload: null }) } + dispatch({ type: 'SET_COMPILER_STATUS', payload: 'idle' }) + dispatch({ type: 'SET_PROOF_FEEDBACK', payload: null }) } catch (e) { dispatch({ type: 'SET_COMPILER_STATUS', payload: 'errored' }) dispatch({ type: 'SET_PROOF_FEEDBACK', payload: e.message })