fix: wrong props type

dev
Antonio De Lucreziis 4 months ago
parent 27317b38b1
commit 3316f6a6ec

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

Loading…
Cancel
Save