diff --git a/src/components/BarChart/index.tsx b/src/components/BarChart/index.tsx index 30232c7..18fa623 100644 --- a/src/components/BarChart/index.tsx +++ b/src/components/BarChart/index.tsx @@ -14,7 +14,6 @@ export default function BarChart({ for (let n in ranklabel) { dataSet.push({ x: ranklabel[n], y: rankdata[n] }); } - const graphType = chartnumber === 1 ? "bar" : "pie"; return (