Narrow component prop types, remove unused props and dead code (#2838)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
Paweł Kuna
2026-08-09 23:14:33 +02:00
committed by GitHub
co-authored by StarDev
parent 0085eeba6e
commit 4f7beecd2b
90 changed files with 265 additions and 656 deletions
+2 -2
View File
@@ -12,10 +12,10 @@ interface Person {
interface Props {
person: Person
color?: string
}
const { person, color = 'yellow' } = Astro.props
const { person } = Astro.props
const color = 'yellow'
---
<div class={`card card-gradient card-gradient-${color}`}>