remove useState

pull/4144/head
yann300 1 year ago committed by ioedeveloper
parent 639682f41e
commit 0d95054a60
  1. 2
      apps/circuit-compiler/src/app/app.tsx

@ -12,7 +12,6 @@ const plugin = new CircomPluginClient()
function App() {
const [appState, dispatch] = useReducer(appReducer, appInitialState)
const [plugin, setPlugin] = useState<CircomPluginClient>(null)
const [locale, setLocale] = useState<{code: string; messages: any}>({
code: 'en',
messages: null
@ -40,7 +39,6 @@ function App() {
plugin.parse(path, content)
}
})
setPlugin(plugin)
})
// compiling events

Loading…
Cancel
Save