Skip to content

Commit

Permalink
removed redundant comparison (anuraghazra#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty541 authored and devantler committed May 1, 2023
1 parent ae4f0c5 commit 0895ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cards/stats-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0895ebd

Please sign in to comment.