mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-05-20 12:24:08 +00:00
refactor: object shorthand (#2882)
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user