summaryrefslogtreecommitdiff
path: root/examples/basics/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'examples/basics/src/components')
-rw-r--r--examples/basics/src/components/Card.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basics/src/components/Card.astro b/examples/basics/src/components/Card.astro
index aea28c83f..a87ab7291 100644
--- a/examples/basics/src/components/Card.astro
+++ b/examples/basics/src/components/Card.astro
@@ -5,7 +5,7 @@ export interface Props {
href: string;
}
-const { href, title, body } = Astro.props as Props;
+const { href, title, body } = Astro.props;
---
<li class="link-card">