diff --git a/src/cards/stats-card.js b/src/cards/stats-card.js index c60ea51d5119c..d44ab24de4d02 100644 --- a/src/cards/stats-card.js +++ b/src/cards/stats-card.js @@ -182,7 +182,7 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => { "nl", "zh-tw", ]; - const isLongLocale = longLocales.includes(locale) === true; + const isLongLocale = longLocales.includes(locale); // filter out hidden stats defined by user & create the text nodes const statItems = Object.keys(STATS)