We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7865bd6 commit 79b2c27Copy full SHA for 79b2c27
src/app/(platform)/testimonios/[id]/page.tsx
@@ -36,9 +36,7 @@ export async function generateMetadata({ params }: { params: { id: string } }):
36
37
const title = `Testimonio de ${testimonial.user.name} (PCN)`;
38
const description =
39
- testimonial.body.length > 160
40
- ? testimonial.body.substring(0, 157) + '...'
41
- : testimonial.body;
+ testimonial.body.length > 160 ? testimonial.body.substring(0, 157) + '...' : testimonial.body;
42
const pageUrl = `${SITE_URL}/testimonios/${params.id}`;
43
44
return {
0 commit comments