pull/5370/head
filip mertens 3 years ago
parent 6a067f40cc
commit 1b19874d46
  1. 4
      apps/remix-ide/src/app/plugins/ViewPluginUI.tsx

@ -10,14 +10,14 @@ export const ViewPluginUI = (props: IViewPluginUI) => {
const [state, setState] = useState<any>(null)
useEffect(() => {
console.log(props.plugin)
// console.log(props.plugin)
if(props.plugin.setDispatch){
props.plugin.setDispatch(setState)
}
}, [])
useEffect(() => {
console.log(state)
// console.log(state)
}, [state])
return (

Loading…
Cancel
Save