mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: correct bars
This commit is contained in:
1 parent
ffe6ccaed0
commit
cd277fb2f1
1 file changed
+6
-1
+6
-1
@@ -104,7 +104,12 @@ export function InfoWithDelta({
|
||||
|
||||
{!noRanking && (
|
||||
<Flex pl={indent ? '2' : '0'} align="center" gap="2">
|
||||
<Progress variant="soft" size="1" value={50} color="gray" />
|
||||
<Progress
|
||||
variant="soft"
|
||||
size="1"
|
||||
value={((betterTanks.length + 1) / others.length) * 100}
|
||||
color="gray"
|
||||
/>
|
||||
<Text color="gray" size="1">
|
||||
{betterTanks.length + 1} / {others.length}
|
||||
</Text>
|
||||
|
||||
Reference in new issue
Block a user