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

re-add <meta name="theme-color" ...> tag

This commit is contained in:
2022-01-07 17:19:12 -05:00
parent 41d2b8c64b
commit a1fd5cd940
4 changed files with 25 additions and 12 deletions

View File

@@ -1,3 +1,4 @@
import { memo } from "react";
import Name from "./Name";
import Menu from "./Menu";
@@ -12,4 +13,4 @@ const Header = () => (
</header>
);
export default Header;
export default memo(Header);

View File

@@ -1,3 +1,4 @@
import { memo } from "react";
import { useTheme } from "next-themes";
import { BulbOffIcon, BulbOnIcon } from "../icons";
@@ -25,4 +26,4 @@ const ThemeToggle = ({ className = "" }) => {
);
};
export default ThemeToggle;
export default memo(ThemeToggle);