Skip to content

Commit 4a6d292

Browse files
committed
style
1 parent ccc33ec commit 4a6d292

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

docs/.vitepress/config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export default defineConfig({
8888
{
8989
text: 'Get from NPM',
9090
link: 'https://www.npmjs.com/package/@electric-sql/pglite',
91-
},
91+
},
9292
],
9393
sidebar: [
9494
{

docs/components/starCount.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,14 @@ export async function downloadCount(currentDownloadCount) {
5454
}
5555

5656
export async function fetchNpmJsDownloadCount(currentCount) {
57-
const resp = await fetch('https://api.npmjs.org/downloads/point/last-week/@electric-sql/pglite')
57+
const resp = await fetch(
58+
'https://api.npmjs.org/downloads/point/last-week/@electric-sql/pglite',
59+
)
5860

5961
if (resp.ok) {
6062
const data = await resp.json()
6163
return data.downloads
6264
}
6365

6466
return currentCount || FALLBACK_NPMJS_DWN_INITIAL_COUNT
65-
}
67+
}

0 commit comments

Comments
 (0)