From b5c1752666beb97b992f44e28c6c8bc11607ce02 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Fri, 23 Jun 2023 22:25:28 +0800 Subject: [PATCH] medium --- themes/medium/LayoutSlug.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/themes/medium/LayoutSlug.js b/themes/medium/LayoutSlug.js index 68308ab7..1d235f32 100644 --- a/themes/medium/LayoutSlug.js +++ b/themes/medium/LayoutSlug.js @@ -24,19 +24,18 @@ export const LayoutSlug = props => { locale.LOCALE ) if (!post) { - return + return } - const slotLeft = post?.toc && post?.toc?.length > 3 && ( -
+ const slotRight = post?.toc && post?.toc?.length >= 3 && ( +
{/* */}
) return ( - + {/* 文章锁 */} {lock && }