Skip to content

Commit 5cd02d1

Browse files
committed
eslint
1 parent ebe1e37 commit 5cd02d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/PartialsUsage.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ import UsageList from "./UsageList.astro";
77
const allPartials = await getPartialsUsage();
88
99
const singleUsePartials = Object.fromEntries(
10-
Object.entries(allPartials).filter(([key, value]) => value.count === 1),
10+
Object.entries(allPartials).filter(([, value]) => value.count === 1),
1111
);
1212
1313
const zeroUsePartials = Object.fromEntries(
14-
Object.entries(allPartials).filter(([key, value]) => value.count === 0),
14+
Object.entries(allPartials).filter(([, value]) => value.count === 0),
1515
);
1616
---
1717

18-
<Details header=`All partials - ${Object.keys(allPartials).length} files`` id="partials-container">
18+
<Details header=`All partials - ${Object.keys(allPartials).length} files` id="partials-container">
1919
{
2020
[...Object.entries(allPartials)]
2121
.sort((a, b) => a[0].localeCompare(b[0]))

0 commit comments

Comments
 (0)