From 5bfcc27b46637cf14f8339696e600e15eb6437cb Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Thu, 25 Apr 2024 17:38:44 +0800 Subject: [PATCH] hotfix comment --- components/Comment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Comment.js b/components/Comment.js index 58acae07..ba0d4256 100644 --- a/components/Comment.js +++ b/components/Comment.js @@ -97,7 +97,7 @@ const Comment = ({ frontMatter, className }) => { observer.unobserve(commentRef.current) } } - }, []) + }, [frontMatter]) // 当连接中有特殊参数时跳转到评论区 if (