The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix(testimonials.tsx): filter out falsy values from tweets array before mapping over it
chronark09b268e563cf
diff --git a/components/home/testimonials.tsx b/components/home/testimonials.tsxindex 461aea61aa..2ade04ae34 100644--- a/components/home/testimonials.tsx+++ b/components/home/testimonials.tsx@@ -23,7 +23,7 @@ export default function Testimonials({</p></div><div className="space-y-6 py-8 sm:columns-2 sm:gap-6 xl:columns-3">- {tweets.map((tweet, idx) => (+ {tweets.filter(Boolean).map((tweet, idx) => (<Tweetkey={idx}metadata={JSON.stringify(tweet)}