From 65037c828a1e54c9b5c19a159587bca1524907e1 Mon Sep 17 00:00:00 2001 From: Braulio Date: Tue, 24 Feb 2026 12:35:15 +0100 Subject: [PATCH] only description --- front/next-env.d.ts | 2 +- .../reservoir-card-info.component.tsx | 48 ++++++++++--------- 2 files changed, 27 insertions(+), 23 deletions(-) diff --git a/front/next-env.d.ts b/front/next-env.d.ts index 9edff1c..c4b7818 100644 --- a/front/next-env.d.ts +++ b/front/next-env.d.ts @@ -1,6 +1,6 @@ /// /// -import "./.next/types/routes.d.ts"; +import "./.next/dev/types/routes.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/front/src/pods/embalse/components/reservoir-card-info.component.tsx b/front/src/pods/embalse/components/reservoir-card-info.component.tsx index e5749ed..ee6dd8a 100644 --- a/front/src/pods/embalse/components/reservoir-card-info.component.tsx +++ b/front/src/pods/embalse/components/reservoir-card-info.component.tsx @@ -16,29 +16,33 @@ export const ReservoirCardInfo: React.FC = (props) => { >

Descubre el embalse {reservoirInfo?.name}

{reservoirInfo?.description}

- {reservoirInfo?.mainPicture?.name - {reservoirInfo?.author && ( -

- Foto:{" "} - {reservoirInfo.authorUrl ? ( - - {reservoirInfo.author} - - ) : ( - reservoirInfo.author + {reservoirInfo?.mainPicture?.url && ( + <> + {reservoirInfo.mainPicture.name + {reservoirInfo?.author && ( +

+ Foto:{" "} + {reservoirInfo.authorUrl ? ( + + {reservoirInfo.author} + + ) : ( + reservoirInfo.author + )} +

)} -

+ )} );