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; ---