Skip to content

Commit

Permalink
fix: adjust percent initial value to zero (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
mguellsegarra authored Oct 25, 2024
1 parent cf646ea commit 5aca646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/views/Graph/GraphIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const GraphIndicator = (props: GraphInidicatorProps) => {
} = props;
const [loading, setLoading] = useState(false);
const [value, setValue] = useState<number>();
const [percent, setPercent] = useState<number>();
const [percent, setPercent] = useState<number>(0);
const [totalValue, setTotalValue] = useState<number>();
const [color, setColor] = useState<string>();
const [icon, setIcon] = useState<string>();
Expand Down

0 comments on commit 5aca646

Please sign in to comment.