refactor: remove unused props from components and improve error handling in about page (#385)

This commit is contained in:
Katsuyuki Karasawa
2025-04-08 22:44:52 +09:00
committed by GitHub
parent c8142d0ac5
commit 7ea2f7f40f
8 changed files with 11 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ interface Props {
class: string
}
const { title, slug, pubDate } = Astro.props
const { title, pubDate } = Astro.props
const className = Astro.props.class
const profileConf = profileConfig
const licenseConf = licenseConfig