mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2025-01-30 14:08:14 +08:00
refactor: object shorthand (#2882)
This commit is contained in:
parent
b7eb65f819
commit
18c9de0a18
@ -61,7 +61,7 @@ function calculateRank({
|
||||
|
||||
const level = LEVELS[THRESHOLDS.findIndex((t) => rank * 100 <= t)];
|
||||
|
||||
return { level: level, percentile: rank * 100 };
|
||||
return { level, percentile: rank * 100 };
|
||||
}
|
||||
|
||||
export { calculateRank };
|
||||
|
Loading…
Reference in New Issue
Block a user