Merge pull request #155 from laymonage/fix-giscus

fix: rename `giscus-frame` class to `giscus`
This commit is contained in:
Timothy
2021-07-29 09:35:34 +08:00
committed by GitHub

View File

@ -42,7 +42,7 @@ const Giscus = ({ mapping }) => {
return (
<div className="pt-6 pb-6 text-center text-gray-700 dark:text-gray-300">
{enableLoadComments && <button onClick={LoadComments}>Load Comments</button>}
<div className="giscus-frame" id={COMMENTS_ID} />
<div className="giscus" id={COMMENTS_ID} />
</div>
)
}