Fix compute feedback

pull/4144/head
ioedeveloper 1 year ago
parent 20e8c8baed
commit 7ef7d311cb
  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