Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Oct 27, 2023
1 parent bd13fc9 commit 05c0204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/redesign/data/Posts.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -716,8 +716,8 @@ const uniqueTags = [...new Set([].concat(...tags))].sort();

const locationTags = uniqueTags.filter((tag) =>
["us", "uk", "ng", "ca", "global"].some(
(countryId) => tag.startsWith(countryId + "-") || tag === countryId
)
(countryId) => tag.startsWith(countryId + "-") || tag === countryId,
),
);
const topicTags = uniqueTags
.filter((tag) => !locationTags.includes(tag))
Expand Down

0 comments on commit 05c0204

Please sign in to comment.