Skip to content

Commit

Permalink
[ci] lint
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-lefebvre authored and github-actions[bot] committed Jul 15, 2024
1 parent 9b91f1a commit 12b3940
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default defineConfig({
{
label: 'External resources',
badge: 'Updated',
link: '/external-resources'
link: '/external-resources',
},
],
components: {
Expand Down
4 changes: 2 additions & 2 deletions src/components/Tags.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const tagsParams = Astro.url.searchParams.getAll("tag");
// Set is used to remove duplicates
const allTags = Array.from(
new Set(allResources.flatMap((resource) => resource.data.tags ?? []))
new Set(allResources.flatMap((resource) => resource.data.tags ?? [])),
);
const { tags } = Astro.props;
Expand All @@ -24,7 +24,7 @@ const filteredTags =
const style = allTags
.map(
(tag) =>
`.sl-markdown-content:has([data-tag=${JSON.stringify(tag)}]:checked) .card-wrapper[data-tags*=${JSON.stringify(tag)}] { display: block; }`
`.sl-markdown-content:has([data-tag=${JSON.stringify(tag)}]:checked) .card-wrapper[data-tags*=${JSON.stringify(tag)}] { display: block; }`,
)
.join("\n");
---
Expand Down

0 comments on commit 12b3940

Please sign in to comment.