fix giscus comment config

This commit is contained in:
PrinOrange
2024-05-03 22:09:58 +08:00
parent e895de8da0
commit 3e4c809c96

View File

@@ -159,7 +159,7 @@ const ReaderPage = (props: ReaderPageProps) => {
</li> </li>
)} )}
</ul> </ul>
<PostComments postId={props.postId} /> {Config.Giscus?.enabled && <PostComments postId={props.postId} />}
</div> </div>
{isTOCLongEnough && ( {isTOCLongEnough && (
<div className="hidden lg:block md:w-1/3 py-5"> <div className="hidden lg:block md:w-1/3 py-5">