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/with-nanostores/src/layouts/Layout.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/with-nanostores/src') diff --git a/examples/with-nanostores/src/layouts/Layout.astro b/examples/with-nanostores/src/layouts/Layout.astro index dae8c6e1a..954513f79 100644 --- a/examples/with-nanostores/src/layouts/Layout.astro +++ b/examples/with-nanostores/src/layouts/Layout.astro @@ -6,7 +6,7 @@ export interface Props { title: string; } -const { title } = Astro.props as Props; +const { title } = Astro.props; --- -- cgit v1.2.3