mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2025-02-23 14:50:33 +08:00
Refactor: Top langs card: Resolve type error with hide_border variable (#3042)
This commit is contained in:
parent
3b975d0fbc
commit
d2e4dddcd5
@ -808,7 +808,9 @@ const renderTopLanguages = (topLangs, options = {}) => {
|
||||
|
||||
if (disable_animations) card.disableAnimations();
|
||||
|
||||
card.setHideBorder(hide_border);
|
||||
if (hide_border) {
|
||||
card.setHideBorder(hide_border);
|
||||
}
|
||||
card.setHideTitle(hide_title);
|
||||
card.setCSS(
|
||||
`
|
||||
|
Loading…
Reference in New Issue
Block a user