You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Fix a bunch of linting errors
eslint --fix and a few manual ones
This commit is contained in:
@@ -25,4 +25,4 @@ export function formatCount(count) {
|
||||
if (count < 10000000) return (count / 1000000).toFixed(1) + "M";
|
||||
if (count < 100000000) return (count / 1000000).toFixed(0) + "M";
|
||||
return (count / 1000000000).toFixed(1) + "B"; // 10B is enough for anyone, right? :S
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user