From dd8ca2c25388b38e4924f6af59fa234ae76cc65c Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Mon, 10 Oct 2022 17:16:17 +0800 Subject: [PATCH] website: fix the version number display issue. --- website/src/components/Markdown/Markdown.tsx | 2 -- website/src/layouts/BaseLayout.tsx | 19 ++++++++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/website/src/components/Markdown/Markdown.tsx b/website/src/components/Markdown/Markdown.tsx index 19f013b9b1..b2954ad65a 100644 --- a/website/src/components/Markdown/Markdown.tsx +++ b/website/src/components/Markdown/Markdown.tsx @@ -33,7 +33,6 @@ const CodePreview = ({ inline, node, components, data, ...props }: CodeProps & C if (metaId && typeof Child === 'function') { const code = data[metaId].value || ''; const param = getURLParameters(meta); - console.log(':param:', param); return ( +
+ +
@@ -77,7 +94,7 @@ export default function Components(props: ComponentsProps) { > - +