update note metadata

This commit is contained in:
Ren Amamiya
2023-05-16 11:10:08 +07:00
parent 7e8e5a931b
commit 064700bd5d
5 changed files with 27 additions and 14 deletions

2
src/utils/number.tsx Normal file
View File

@@ -0,0 +1,2 @@
// convert number to K, M, B, T, etc.
export const compactNumber = Intl.NumberFormat("en", { notation: "compact" });