C3 修正

This commit is contained in:
ciaochaos 2020-09-01 20:55:53 +08:00
parent aa74af6175
commit cffe7e483a
1 changed files with 0 additions and 2 deletions

View File

@ -1,6 +1,5 @@
import React from "react"; import React from "react";
import {ParamTypes} from "../../constant/ParamTypes"; import {ParamTypes} from "../../constant/ParamTypes";
import {getTypeTable, QRPointType} from "../../utils/qrcodeHandler";
import {createRenderer} from "../style/Renderer"; import {createRenderer} from "../style/Renderer";
import {defaultImage} from "../../constant/References"; import {defaultImage} from "../../constant/References";
@ -8,7 +7,6 @@ function listPoints({ qrcode, params, icon }) {
if (!qrcode) return [] if (!qrcode) return []
const nCount = qrcode.getModuleCount(); const nCount = qrcode.getModuleCount();
const typeTable = getTypeTable(qrcode);
const pointList = new Array(nCount); const pointList = new Array(nCount);
let color = params[1]; let color = params[1];