Skip to content

Commit a5295fa

Browse files
committed
[Docs Site] Add usage amount to PartialsUsage dropdowns
1 parent 0fe73c2 commit a5295fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/PartialsUsage.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const partials = await getPartialsUsage();
1212
[...Object.entries(partials)]
1313
.sort((a, b) => a[0].localeCompare(b[0]))
1414
.map(([name, usage]) => (
15-
<Details header={name} id={name}>
15+
<Details header={`${name} (${usage.pages.size} usages)`} id={name}>
1616
<UsageList usage={usage} />
1717
</Details>
1818
))

0 commit comments

Comments
 (0)