Skip to content

Commit

Permalink
fixp
Browse files Browse the repository at this point in the history
  • Loading branch information
tangly1024 committed May 28, 2024
1 parent 1614a6e commit c24f9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/heo/components/SideRight.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'>
Expand Down

0 comments on commit c24f9a0

Please sign in to comment.