Skip to content

Commit

Permalink
feat: pretty print total ratings
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed May 21, 2024
1 parent 6802aae commit 2df6a74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions output/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@ Proposed [Twitter community notes](https://twitter.com/i/communitynotes/download
if (!data) {
return 0;
}
if (type === 'display') {
return data.toLocaleString();
}
return data;
}
},
Expand Down

0 comments on commit 2df6a74

Please sign in to comment.