From 22f35b6a5342aa21ac86824c276daf0400ba06d9 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 6 Jun 2022 09:29:47 +0200 Subject: [PATCH 1/2] show medium posts --- libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx index ba1e10e1a5..4040cf8660 100644 --- a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx +++ b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx @@ -319,8 +319,7 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => { className="btn-danger p-2 m-1 border rounded-circle remixui_home_mediaBadge fab fa-medium" id="remixIDEHomeMediumbtn" title="Medium blogs" - hidden={true} - onClick={(e) => { + remove ionClick={(e) => { setState(prevState => { return { ...prevState, showMediaPanel: state.showMediaPanel === 'medium' ? 'none' : 'medium' } }) From 87d4e2c9e443830ec9824433524759b475006239 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 6 Jun 2022 09:31:24 +0200 Subject: [PATCH 2/2] typo --- libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx index 4040cf8660..05f7c32125 100644 --- a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx +++ b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx @@ -319,7 +319,7 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => { className="btn-danger p-2 m-1 border rounded-circle remixui_home_mediaBadge fab fa-medium" id="remixIDEHomeMediumbtn" title="Medium blogs" - remove ionClick={(e) => { + onClick={(e) => { setState(prevState => { return { ...prevState, showMediaPanel: state.showMediaPanel === 'medium' ? 'none' : 'medium' } })