Skip to content

Commit

Permalink
card counts
Browse files Browse the repository at this point in the history
  • Loading branch information
rxb committed Nov 15, 2022
1 parent 7dba0b5 commit 8a7f2b4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/frontend/components/tldr/components.js
Original file line number Diff line number Diff line change
Expand Up @@ -1095,8 +1095,10 @@ export const CategoryItem2 = (props) => {

const {
category,
color = SWATCHES.tint
color = SWATCHES.tint,
} = props;


return (

<Chunk>
Expand All @@ -1118,7 +1120,7 @@ export const CategoryItem2 = (props) => {
}}>
<Chunk >
<Text type="big" inverted>{category.name}</Text>
<Text type="small" style={{ textAlign: 'left' }} color="secondary" inverted>1,263 cards</Text>
<Text type="small" style={{ textAlign: 'left' }} color="secondary" inverted>{/*1,263 cards*/}{category.tldrCount} cards</Text>
</Chunk>
</Sectionless>
</Card>
Expand Down

0 comments on commit 8a7f2b4

Please sign in to comment.