Skip to content

Commit

Permalink
Remove unused slot until slot bugs are fixed
Browse files Browse the repository at this point in the history
Simple fix for withastro#3473 as the slot was never used in this example.
  • Loading branch information
florian-s-code committed May 30, 2022
1 parent c81ef49 commit 3122ba0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/basics/src/components/Card.astro
Expand Up @@ -14,7 +14,6 @@ const {href, title, body} = Astro.props;
</h2>
<p>
{body}
<slot name="icon" />
</p>
</a>
</li>
Expand Down Expand Up @@ -72,4 +71,4 @@ const {href, title, body} = Astro.props;
.link-card:is(:hover, :focus-within) h2 span {
transform: translateX(2px);
}
</style>
</style>

0 comments on commit 3122ba0

Please sign in to comment.