refactor: object shorthand (#2882)

This commit is contained in:
Max Duval 2023-06-26 09:40:54 +01:00 committed by GitHub
parent b7eb65f819
commit 18c9de0a18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 };