From 22abd96bba49e67b3149d7ebffefd6bb7293fa59 Mon Sep 17 00:00:00 2001 From: Aman Varshney Date: Fri, 29 Aug 2025 15:00:15 +0530 Subject: [PATCH] chore(web): render video testimonial in reverse order --- apps/web/src/app/(home)/_components/testimonials.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/apps/web/src/app/(home)/_components/testimonials.tsx b/apps/web/src/app/(home)/_components/testimonials.tsx index a32ae1b..5a35fb3 100644 --- a/apps/web/src/app/(home)/_components/testimonials.tsx +++ b/apps/web/src/app/(home)/_components/testimonials.tsx @@ -91,9 +91,7 @@ const TweetCard = ({ tweetId, index }: { tweetId: string; index: number }) => (
- {/* }> */} - {/* */}
@@ -107,11 +105,8 @@ export default function Testimonials({ preloadedTestimonialsTweet: Preloaded; preloadedTestimonialsVideos: Preloaded; }) { - const videosData = usePreloadedQuery(preloadedTestimonialsVideos); - const tweetsData = usePreloadedQuery(preloadedTestimonialsTweet); - - const videos = videosData || []; - const tweets = tweetsData || []; + const videos = usePreloadedQuery(preloadedTestimonialsVideos).reverse(); + const tweets = usePreloadedQuery(preloadedTestimonialsTweet).reverse(); const getResponsiveColumns = (numCols: number) => { const columns: string[][] = Array(numCols)