Fix compute feedback

pull/5370/head
ioedeveloper 1 year ago
parent a22c8dba2d
commit 9a8c70815b
  1. 5
      apps/circuit-compiler/src/app/app.tsx

@ -59,7 +59,10 @@ function App() {
// witness events
plugin.internalEvents.on('circuit_computing_witness_start', () => dispatch({ type: 'SET_COMPILER_STATUS', payload: 'computing' }))
plugin.internalEvents.on('circuit_computing_witness_done', () => dispatch({ type: 'SET_COMPILER_STATUS', payload: 'idle' }))
plugin.internalEvents.on('circuit_computing_witness_done', () => {
dispatch({ type: 'SET_COMPILER_STATUS', payload: 'idle' })
dispatch({ type: 'SET_COMPILER_FEEDBACK', payload: null })
})
plugin.internalEvents.on('circuit_computing_witness_errored', compilerErrored)
// parsing events

Loading…
Cancel
Save