Skip to content

Commit

Permalink
fix: do not show gacha tags when there is no data available
Browse files Browse the repository at this point in the history
  • Loading branch information
lgou2w committed Jan 28, 2024
1 parent ad090f8 commit e35d793
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/gacha/overview/GachaOverviewTags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ export default function GachaOverviewTags () {
}
}, [aggregatedValues])

if (!luck && !unluck && !related && !crazy) {
return null
}

return (
<Box>
<Typography variant="body1" gutterBottom>
Expand Down

0 comments on commit e35d793

Please sign in to comment.