fix dispatch

pull/5057/head
ioedeveloper 4 months ago committed by Aniket
parent 27c7f58c62
commit 7e9bca43f5
  1. 2
      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 })
}
} catch (e) {
dispatch({ type: 'SET_COMPILER_STATUS', payload: 'errored' })
dispatch({ type: 'SET_PROOF_FEEDBACK', payload: e.message })

Loading…
Cancel
Save