1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 05:41:17 -04:00

actually listen to react-hooks/exhaustive-deps warning

This commit is contained in:
2022-04-21 18:10:03 -04:00
parent 008bb3213b
commit 831139c132
11 changed files with 206 additions and 22 deletions

View File

@@ -1,3 +1,4 @@
import { memo } from "react";
import { minify } from "uglify-js";
import { clientScript } from "./script";
import { darkModeQuery, themeStorageKey, themeClassNames } from "../../lib/config/themes";
@@ -41,4 +42,4 @@ const ThemeScript = () => {
);
};
export default ThemeScript;
export default memo(ThemeScript);