mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-08-05 22:24:42 +00:00
Fixed layout toLowerCase bug (#2770)
This commit is contained in:
@@ -746,7 +746,7 @@ const renderTopLanguages = (topLangs, options = {}) => {
|
||||
totalLanguageSize,
|
||||
hide_progress,
|
||||
);
|
||||
} else if (layout?.toLowerCase() === "donut") {
|
||||
} else if (layout === "donut") {
|
||||
height = calculateDonutLayoutHeight(langs.length);
|
||||
width = width + 50; // padding
|
||||
finalLayout = renderDonutLayout(langs, width, totalLanguageSize);
|
||||
|
||||
Reference in New Issue
Block a user