summaryrefslogtreecommitdiff
path: root/examples/basics/src/components
diff options
context:
space:
mode:
authorGravatar Florian S <2287301+florian-s-code@users.noreply.github.com> 2022-05-30 14:42:59 +0200
committerGravatar GitHub <noreply@github.com> 2022-05-30 09:42:59 -0300
commit95c506bf6b8f97a7406ccea25ebcb6a6bc66907c (patch)
tree034e7ed887317a3944493481f5e1df56198b7232 /examples/basics/src/components
parent1bf42a93a1e8a7f5a9b2df6967adcced982b2fbe (diff)
downloadastro-95c506bf6b8f97a7406ccea25ebcb6a6bc66907c.tar.gz
astro-95c506bf6b8f97a7406ccea25ebcb6a6bc66907c.tar.zst
astro-95c506bf6b8f97a7406ccea25ebcb6a6bc66907c.zip
Remove unused slot until slot bugs are fixed (#3475)
Simple fix for #3473 as the slot was never used in this example. Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Diffstat (limited to 'examples/basics/src/components')
-rw-r--r--examples/basics/src/components/Card.astro3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/basics/src/components/Card.astro b/examples/basics/src/components/Card.astro
index 7b911b395..53b67a9da 100644
--- a/examples/basics/src/components/Card.astro
+++ b/examples/basics/src/components/Card.astro
@@ -14,7 +14,6 @@ const {href, title, body} = Astro.props;
</h2>
<p>
{body}
- <slot name="icon" />
</p>
</a>
</li>
@@ -72,4 +71,4 @@ const {href, title, body} = Astro.props;
.link-card:is(:hover, :focus-within) h2 span {
transform: translateX(2px);
}
-</style> \ No newline at end of file
+</style>