feat: implement horizontal scroll for testimonials and display all reviews in dashboard
This commit is contained in:
@@ -137,9 +137,9 @@ export default function AgentDashboard() {
|
||||
setPendingRequestCount(requestCounts.pending);
|
||||
}
|
||||
|
||||
// Map testimonials for TestimonialsSection (latest 3)
|
||||
// Map all testimonials for TestimonialsSection (horizontal scroll)
|
||||
setTestimonials(
|
||||
testimonialsData.slice(0, 3).map((t) => ({
|
||||
testimonialsData.map((t) => ({
|
||||
id: t.id,
|
||||
text: t.text,
|
||||
author: t.authorName,
|
||||
|
||||
Reference in New Issue
Block a user