switched two interfaces to types

This commit is contained in:
Noah Swerhun 2024-04-14 21:40:19 -05:00
parent aac74b7914
commit 421305a299
2 changed files with 4 additions and 4 deletions

View file

@ -1,8 +1,8 @@
---
interface Props {
type Props = {
title: string;
description: string;
}
};
const domain = "jhunterdeloche.com";
const author = "J. Hunter DeLoche";

View file

@ -4,10 +4,10 @@ import Header from "@/components/Header.astro";
import Metadata from "@/components/Metadata.astro";
import { ViewTransitions } from "astro:transitions";
interface Props {
type Props = {
title: string;
description: string;
}
};
const { title, description }: Props = Astro.props;
---