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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user