From f616f99ff7525e1baf54e9e702f33f315fabde96 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Thu, 30 Dec 2021 21:00:05 +0100 Subject: [PATCH] lint --- .../src/lib/remix-app/components/panels/iFramePluginView.tsx | 1 - libs/remix-ui/panel/src/lib/plugins/panel-plugin.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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)) {