From d547038c86c848361dcf0c3edb360374bdc62d77 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Mon, 11 Jul 2022 15:30:58 +0200 Subject: [PATCH] fix items --- .../panel/src/lib/plugins/panel-header.tsx | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx b/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx index 8c19d32fdf..ec92786c48 100644 --- a/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx +++ b/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx @@ -4,8 +4,8 @@ import { PluginRecord } from '../types' import './panel.css' export interface RemixPanelProps { - plugins: Record; - } + plugins: Record; +} const RemixUIPanelHeader = (props: RemixPanelProps) => { const [plugin, setPlugin] = useState() const [toggleExpander, setToggleExpander] = useState(false) @@ -30,7 +30,7 @@ const RemixUIPanelHeader = (props: RemixPanelProps) => {
{plugin?.profile?.maintainedBy?.toLowerCase() === "remix" && ()} - {plugin?.profile.documentation && () } + {plugin?.profile.documentation && ()}
@@ -40,21 +40,25 @@ const RemixUIPanelHeader = (props: RemixPanelProps) => {
{plugin?.profile?.author && - plugin.profile.author + {plugin?.profile?.author} } {plugin?.profile?.maintainedBy && - plugin.profile.maintainedBy + {plugin?.profile?.maintainedBy} } {plugin?.profile?.documentation && - + } - {plugin?.profile?.description && + {plugin?.profile?.description && - plugin?.profile.description +
{plugin?.profile?.description}
+
} + {plugin?.profile?.repo && + + Make an issue }
)