From cdadd3585b831715e7197cfcb6fb0aa6148db497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dias?= Date: Fri, 17 May 2024 18:05:41 -0300 Subject: [PATCH] :boom: fix: astro props errors in editor --- src/layouts/OldLayout.astro | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/layouts/OldLayout.astro b/src/layouts/OldLayout.astro index a7f9d37..085c042 100644 --- a/src/layouts/OldLayout.astro +++ b/src/layouts/OldLayout.astro @@ -1,12 +1,11 @@ --- import "../styles/global.css"; -interface OldLayout { +interface Props { title: string; icon: string; } -const { title } = Astro.props; -const { icon } = Astro.props; +const { title, icon } = Astro.props; ---