Skip to content

Commit

Permalink
fix: warnings about unexpected slot in Img and Hr
Browse files Browse the repository at this point in the history
  • Loading branch information
hperrin committed Apr 28, 2021
1 parent 641acf1 commit 98a555f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/common/Hr.svelte
Expand Up @@ -4,6 +4,7 @@
use:forwardEvents
{...$$restProps}
/>
<slot />

<script>
import { get_current_component } from 'svelte/internal';
Expand Down
1 change: 1 addition & 0 deletions packages/common/Img.svelte
Expand Up @@ -5,6 +5,7 @@
{alt}
{...$$restProps}
/>
<slot />

<script>
import { get_current_component } from 'svelte/internal';
Expand Down

0 comments on commit 98a555f

Please sign in to comment.