pull/4470/head
ioedeveloper 10 months ago committed by Aniket
parent 659b88b9c2
commit decb80735f
  1. 9
      apps/circuit-compiler/src/app/app.tsx

@ -38,9 +38,6 @@ function App() {
plugin.parse(path, content)
}
})
plugin.on('filePanel', 'setWorkspace', async () => {
dispatch({ type: 'SET_FILE_PATH', payload: '' })
})
setIsPluginActivated(true)
})
@ -103,10 +100,10 @@ function App() {
(async () => {
if (appState.autoCompile) await compileCircuit(plugin, appState)
})()
dispatch({ type: 'SET_SIGNAL_INPUTS', payload: [] })
dispatch({ type: 'SET_COMPILER_STATUS', payload: 'idle' })
dispatch({ type: 'SET_COMPILER_FEEDBACK', payload: null })
}
dispatch({ type: 'SET_SIGNAL_INPUTS', payload: [] })
dispatch({ type: 'SET_COMPILER_STATUS', payload: 'idle' })
dispatch({ type: 'SET_COMPILER_FEEDBACK', payload: null })
}, [appState.filePath])
const setCurrentLocale = async () => {

Loading…
Cancel
Save