removed redundant comparison (#957)

This commit is contained in:
Alexandr Garbuzov
2023-04-25 08:15:16 +02:00
committed by GitHub
parent be0d96615d
commit da5f82ff02
+1 -1
View File
@@ -183,7 +183,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)