We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0a62e3 commit 4c42c18Copy full SHA for 4c42c18
1 file changed
demo/index.js
@@ -88,7 +88,7 @@ function getByteSize(raw) {
88
const encoded = new TextEncoder().encode(JSON.stringify(raw));
89
const bytes = encoded.length;
90
const size = bytes / 1024;
91
- if(size > 0.9) return "1+";
+ if(size > 10.9) return "10+";
92
return size.toFixed(2);
93
}
94
0 commit comments