forked from phc/website
fix: wrong props type
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user