removed redundant comparison (#957)

This commit is contained in:
Alexandr Garbuzov 2023-04-25 09:15:16 +03:00 committed by GitHub
parent be0d96615d
commit da5f82ff02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)