We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 446019f commit 5f26767Copy full SHA for 5f26767
src/utils/utils.ts
@@ -56,7 +56,8 @@ function bytesToMB(bytes?: number | string) {
56
}
57
58
export function bytesToSpeed(bytes?: number | string) {
59
- return `${bytesToMB(bytes)}${bytes ? 'ps' : ''}`;
+ const speed = bytesToMB(bytes);
60
+ return `${speed}${speed ? 'ps' : ''}`;
61
62
63
export function bytesToGB(bytes?: number | string, shouldRound?: boolean) {
0 commit comments