diff --git a/libs/remix-ui/app/src/lib/remix-app/components/panels/iFramePluginView.tsx b/libs/remix-ui/app/src/lib/remix-app/components/panels/iFramePluginView.tsx index addd406948..f56ea4f863 100644 --- a/libs/remix-ui/app/src/lib/remix-app/components/panels/iFramePluginView.tsx +++ b/libs/remix-ui/app/src/lib/remix-app/components/panels/iFramePluginView.tsx @@ -10,7 +10,6 @@ const IFramePluginView = (props: IFramePluginViewProps) => { const [loading, isLoading] = useState(true) const loaded = () => { - console.log(props.plugin.profile.name + "loaded") props.plugin.shake(ref.current) isLoading(false) } diff --git a/libs/remix-ui/panel/src/lib/plugins/panel-plugin.tsx b/libs/remix-ui/panel/src/lib/plugins/panel-plugin.tsx index 69a50ea1f0..9643eed05e 100644 --- a/libs/remix-ui/panel/src/lib/plugins/panel-plugin.tsx +++ b/libs/remix-ui/panel/src/lib/plugins/panel-plugin.tsx @@ -10,7 +10,7 @@ const RemixUIPanelPlugin = (props: panelPLuginProps, panelRef: any) => { const [view, setView] = useState() useEffect(() => { console.log(panelRef) - const ref:any = panelRef? panelRef : localRef + const ref:any = panelRef || localRef if (ref.current) { if (props.pluginRecord.view) { if (React.isValidElement(props.pluginRecord.view)) {