)
-export default Footer
+export default PartFooter
diff --git a/src/components/header/Header.js b/src/components/app/PartHeader.js
similarity index 91%
rename from src/components/header/Header.js
rename to src/components/app/PartHeader.js
index d65d5cb..c6870de 100644
--- a/src/components/header/Header.js
+++ b/src/components/app/PartHeader.js
@@ -9,7 +9,7 @@ const logoStyle = {
backgroundPosition: 'left'
};
-const Header = () => (
+const PartHeader = () => (
@@ -19,4 +19,4 @@ const Header = () => (
)
-export default Header
+export default PartHeader
diff --git a/src/components/renderer/RendererRandRect.js b/src/components/renderer/RendererRandRect.js
index cf357bf..e2a3352 100644
--- a/src/components/renderer/RendererRandRect.js
+++ b/src/components/renderer/RendererRandRect.js
@@ -1,7 +1,5 @@
import React, { useEffect } from "react";
import {defaultViewBox, rand} from "../../utils/util";
-import {ParamTypes} from "../../constant/ParamTypes";
-import {getTypeTable, QRPointType} from "../../utils/qrcodeHandler";
function listPoints(qrcode, params) {
if (!qrcode) return []
diff --git a/src/components/renderer/RendererResImage.js b/src/components/renderer/RendererResImage.js
index 345ec6b..6920211 100644
--- a/src/components/renderer/RendererResImage.js
+++ b/src/components/renderer/RendererResImage.js
@@ -167,7 +167,7 @@ const RendererResImage = ({qrcode, params, setParamInfo}) => {
const [gpl, setGPL] = useState([]);
useMemo(() => {
getGrayPointList(params, qrcode.getModuleCount(), "#S-black", "#S-white").then(res => setGPL(res));
- }, [setGPL, params[0], params[1], params[2], qrcode])
+ }, [setGPL, params, qrcode])
return (