Skip to content

Commit

Permalink
chore: bangboo pool does not show currency
Browse files Browse the repository at this point in the history
  • Loading branch information
lgou2w committed Jul 6, 2024
1 parent 4895b1f commit 6a4ff14
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/gacha/overview/GachaOverviewGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ function GachaOverviewGridCard ({ facet, value, newbie }: {

const aggregated = category === 'aggregated'
const isZZZ = facet === AccountFacet.ZenlessZoneZero
const isBangboo = isZZZ && category === 'bangboo'

return (
<Stack sx={GachaOverviewGridCardSx}>
Expand Down Expand Up @@ -101,7 +102,9 @@ function GachaOverviewGridCard ({ facet, value, newbie }: {
</Stack>
<Stack>
<Chip label={`平均每金 ${golden.sumAverage} 抽`} />
<Chip label={`平均每金 ${golden.sumAverage * 160} ${currency}`} />
{!isBangboo && (
<Chip label={`平均每金 ${golden.sumAverage * 160} ${currency}`} />
)}
</Stack>
</Stack>
{lastGolden && !aggregated && (
Expand Down

0 comments on commit 6a4ff14

Please sign in to comment.