mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 07:01:19 -04:00
use memo more wisely
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { memo } from "react";
|
||||
import { useRouter } from "next/router";
|
||||
import Link from "next/link";
|
||||
import classNames from "classnames";
|
||||
@@ -23,4 +22,4 @@ const PageTitle = ({ children, className }: Props) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default memo(PageTitle);
|
||||
export default PageTitle;
|
||||
|
Reference in New Issue
Block a user