Skip to content

Commit 463b70f

Browse files
committed
hide section
1 parent 58e4462 commit 463b70f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routes/-components/testimonials.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function TestimonialsSection() {
1212
queryFn: getTestimonialsFn,
1313
});
1414

15-
if (!testimonials) {
15+
if (!testimonials || testimonials.length === 0) {
1616
return null;
1717
}
1818

0 commit comments

Comments
 (0)