Refactored Barcode Page and made fixes to logic
This commit is contained in:
@@ -20,7 +20,7 @@ function PieChart({ segments }) {
|
||||
return (
|
||||
<div className="chart-container">
|
||||
<svg width="350" height="350" viewBox="0 0 42 42">
|
||||
<circle cx="21" cy="21" r={RADIUS} fill="transparent" stroke="#f2f2f2" strokeWidth="20" />
|
||||
<circle cx="21" cy="21" r={RADIUS} fill="transparent" stroke="var(--color-chart-track)" strokeWidth="20" />
|
||||
{computedSegments.map((seg, i) => (
|
||||
<circle
|
||||
key={i}
|
||||
|
||||
Reference in New Issue
Block a user