Skip to content

Commit

Permalink
fix: remove useless branch code
Browse files Browse the repository at this point in the history
  • Loading branch information
renanfranca committed Feb 14, 2025
1 parent d6ed03f commit b2c4106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/app/module/domain/ModuleRankStatistics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ export const toModuleRankStatistics = (landscape: Landscape): ModuleRankStatisti

return RANKS.map(rank => ({
rank,
quantity: rankCounts.get(rank) ?? 0,
quantity: rankCounts.get(rank)!,
}));
};

0 comments on commit b2c4106

Please sign in to comment.