From 835f60a553f7919f25b3882cf5a99b0502b9de0a Mon Sep 17 00:00:00 2001 From: icy Date: Mon, 3 Nov 2025 20:25:07 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20TypeScript=20error=20in=20CommunitySectio?= =?UTF-8?q?n=20component=20-=20Add=20missing=20CardProps=20interface=20def?= =?UTF-8?q?inition=20-=20Update=20TestimonialCard=20component=20to=20use?= =?UTF-8?q?=20correct=20prop=20types=20-=20Fix=20authorName=20prop=20usage?= =?UTF-8?q?=20instead=20of=20author=20-=20Resolve=20build=20error:=20Canno?= =?UTF-8?q?t=20find=20name=20'CardProps'=20=F0=9F=A4=96=20Generated=20with?= =?UTF-8?q?=20[Claude=20Code](https://claude.ai/code)=20Co-Authored-By:=20?= =?UTF-8?q?tinkle-community=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/landing/CommunitySection.tsx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/web/src/components/landing/CommunitySection.tsx b/web/src/components/landing/CommunitySection.tsx index 9edbf4d4..d8165497 100644 --- a/web/src/components/landing/CommunitySection.tsx +++ b/web/src/components/landing/CommunitySection.tsx @@ -1,7 +1,16 @@ import { motion } from 'framer-motion' import AnimatedSection from './AnimatedSection' -function TestimonialCard({ quote, author, delay }: any) { +interface CardProps { + quote: string + authorName: string + handle: string + avatarUrl: string + tweetUrl: string + delay: number +} + +function TestimonialCard({ quote, authorName, delay }: CardProps) { return (
- {author} + {authorName}