pull/5370/head
ioedeveloper 10 months ago committed by Aniket
parent d527cf4a92
commit 563a2f053a
  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