mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
fixp
This commit is contained in:
@@ -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'>
|
||||
|
||||
Reference in New Issue
Block a user