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

@@ -10,7 +10,7 @@ interface Props {
tags?: string[]
categories?: string[]
}
const { keyword, tags, categories } = Astro.props
const { tags, categories } = Astro.props
let posts = await getSortedPosts()