From 5fbb359afb807311ad8bb82d83912d8d6d75da10 Mon Sep 17 00:00:00 2001 From: Mohammed Elhaouari <9967336+mohammed-elhaouari@users.noreply.github.com> Date: Fri, 26 Aug 2022 15:16:17 +0100 Subject: Remove "as Props" from the astro examples (#4494) --- examples/basics/src/components/Card.astro | 2 +- examples/basics/src/layouts/Layout.astro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/basics/src') 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; ---