Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenClontz committed Oct 10, 2024
1 parent af32134 commit 6e6601c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 3 additions & 4 deletions packages/viewer/src/components/Shared/Aliases.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
</script>

{#each aliases as alias, i (i)}
<Typeset body={alias} />{#if i !== aliases.length - 1}<span
class="comma"
>,
</span>{/if}
<Typeset body={alias} />{#if i !== aliases.length - 1}<span class="comma"
>,
</span>{/if}
{/each}
4 changes: 3 additions & 1 deletion packages/viewer/src/components/Spaces/Show.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
</h1>

{#if space.aliases.length > 0}
<h4 class="text-muted lead">Also known as: <Aliases aliases={space.aliases} /></h4>
<h4 class="text-muted lead">
Also known as: <Aliases aliases={space.aliases} />
</h4>
{/if}

<section class="description">
Expand Down

0 comments on commit 6e6601c

Please sign in to comment.