Skip to content

Commit ce1d730

Browse files
committed
style: run prettier
1 parent 49050c8 commit ce1d730

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/OpenSourceStats.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ const NpmDownloadCounter = ({
5858
npmData: Parameters<typeof useNpmDownloadCounter>[0]
5959
}) => {
6060
const { count, intervalMs } = useNpmDownloadCounter(npmData)
61-
if (!Number.isFinite(count)) { // this returns true for NaN, Infinty / -Infinty, null, undefined
61+
if (!Number.isFinite(count)) {
62+
// this returns true for NaN, Infinty / -Infinty, null, undefined
6263
return '-'
6364
}
6465
return <StableCounter value={count} intervalMs={intervalMs} />

0 commit comments

Comments
 (0)