From f682c6fc9d1b951a1f4769c535e38d4e36b52bcb Mon Sep 17 00:00:00 2001 From: filip mertens Date: Sun, 13 Feb 2022 12:43:14 +0100 Subject: [PATCH] cleanup refs --- libs/remix-ui/app/src/lib/remix-app/remix-app.tsx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx b/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx index 97b9fbec81..616400a5a8 100644 --- a/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx +++ b/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx @@ -18,8 +18,6 @@ const RemixApp = (props: IRemixAppUi) => { const [appReady, setAppReady] = useState(false) const [hideSidePanel, setHideSidePanel] = useState(false) const sidePanelRef = useRef(null) - const iconPanelRef = useRef(null) - const hiddenPanelRef = useRef(null) useEffect(() => { async function activateApp () { @@ -57,10 +55,6 @@ const RemixApp = (props: IRemixAppUi) => { }) } - const components = { - hiddenPanel:
- } - const value = { settings: props.app.settings, showMatamo: props.app.showMatamo, @@ -75,21 +69,21 @@ const RemixApp = (props: IRemixAppUi) => {
-
+
-
+
) } -interface IViewPluginUI { +export interface IViewPluginUI { plugin: any }