1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-17 17:35:31 -04:00

remove unnecessary memos

This commit is contained in:
2022-06-22 19:53:08 -04:00
parent 25b2e7133b
commit e782f1a8e8
13 changed files with 135 additions and 140 deletions

View File

@@ -1,4 +1,3 @@
import { memo } from "react";
import Giscus from "@giscus/react";
import { useTheme } from "../../hooks/use-theme";
import { styled } from "../../lib/styles/stitches.config";
@@ -10,7 +9,7 @@ const Wrapper = styled("div", {
marginTop: "2em",
paddingTop: "2em",
borderTop: "2px solid $light",
minHeight: "300px",
minHeight: "360px",
});
export type CommentsProps = ComponentProps<typeof Wrapper> & {
@@ -35,4 +34,4 @@ const Comments = ({ title, ...rest }: CommentsProps) => {
);
};
export default memo(Comments);
export default Comments;