Skip to content

Commit 79b2c27

Browse files
committed
refactor: code format
1 parent 7865bd6 commit 79b2c27

File tree

1 file changed

+1
-3
lines changed
  • src/app/(platform)/testimonios/[id]

1 file changed

+1
-3
lines changed

src/app/(platform)/testimonios/[id]/page.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ export async function generateMetadata({ params }: { params: { id: string } }):
3636

3737
const title = `Testimonio de ${testimonial.user.name} (PCN)`;
3838
const description =
39-
testimonial.body.length > 160
40-
? testimonial.body.substring(0, 157) + '...'
41-
: testimonial.body;
39+
testimonial.body.length > 160 ? testimonial.body.substring(0, 157) + '...' : testimonial.body;
4240
const pageUrl = `${SITE_URL}/testimonios/${params.id}`;
4341

4442
return {

0 commit comments

Comments
 (0)