fix: circle progress not being goog
This commit is contained in:
parent
23387f74ac
commit
38ef322635
|
@ -30,7 +30,7 @@ const CircularProgress = ({
|
||||||
chain: Chain
|
chain: Chain
|
||||||
className?: string
|
className?: string
|
||||||
}) => {
|
}) => {
|
||||||
const progressOffset = ((100 - chain.progress) / 100) * 565.48
|
const progressOffset = ((100 - chain.progress) / 100) * 282.74 // These math are not mathing
|
||||||
const textOffset = (chain.progress / 100) * (30 - 44) + 44
|
const textOffset = (chain.progress / 100) * (30 - 44) + 44
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue