mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-17 17:35:31 -04:00
use memo more wisely
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { memo } from "react";
|
||||
import { useTheme } from "next-themes";
|
||||
import classNames from "classnames";
|
||||
import { Giscus } from "@giscus/react";
|
||||
@@ -28,4 +29,4 @@ const Comments = ({ title, className }: Props) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default Comments;
|
||||
export default memo(Comments);
|
||||
|
Reference in New Issue
Block a user