fix: wrong props type

This commit is contained in:
2024-08-03 03:21:40 +02:00
parent 27317b38b1
commit 3316f6a6ec
+4 -4
View File
@@ -10,12 +10,12 @@ import '@fontsource/iosevka/latin.css'
import '../styles/main.scss'
type Props = {
title: string
description: string
thumbnail: string
title?: string
description?: string
thumbnail?: string
/** Tags for the page, used for styling */
pageTags: string | string[]
pageTags?: string | string[]
}
const { title, description, thumbnail, pageTags } = Astro.props