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 && }