mirror of
https://github.com/Fluffy-Bean/website.git
synced 2025-05-14 08:02:16 +00:00
Avoid use of ==
and !=
(JS-0050)
This commit is contained in:
parent
0085442251
commit
18729faff4
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ export async function getTagsBySlug(
|
|||
const tags: CollectionEntry<"tags">[] = [];
|
||||
postTags.forEach((postTag) => {
|
||||
allTags.forEach((allTag) => {
|
||||
if (allTag.slug == postTag) tags.push(allTag);
|
||||
if (allTag.slug === postTag) tags.push(allTag);
|
||||
});
|
||||
});
|
||||
return tags;
|
||||
|
|
Loading…
Add table
Reference in a new issue