fix(web): add optional order field and sort tweets accordingly

This commit is contained in:
Aman Varshney
2025-08-29 15:39:42 +05:30
parent 22abd96bba
commit 11fd8eddcb
3 changed files with 12 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ export default function Testimonials({
preloadedTestimonialsVideos: Preloaded<typeof api.testimonials.getVideos>;
}) {
const videos = usePreloadedQuery(preloadedTestimonialsVideos).reverse();
const tweets = usePreloadedQuery(preloadedTestimonialsTweet).reverse();
const tweets = usePreloadedQuery(preloadedTestimonialsTweet);
const getResponsiveColumns = (numCols: number) => {
const columns: string[][] = Array(numCols)