This commit is contained in:
tangly1024.com
2024-05-28 12:29:25 +08:00
parent 1614a6ed03
commit c24f9a03ca

View File

@@ -30,7 +30,7 @@ export default function SideRight(props) {
const { post, tagOptions, currentTag, rightAreaSlot } = props
// 只摘取标签的前60个防止右侧过长
const sortedTags = tagOptions.slice(0, 60)
const sortedTags = tagOptions?.slice(0, 60) || []
return (
<div id='sideRight' className='hidden xl:block w-72 space-y-4 h-full'>