From fbb2b6c495bf71d0fc8c4069c96e9fd23426d4b4 Mon Sep 17 00:00:00 2001 From: "sabrina.bongiovanni" Date: Thu, 28 Nov 2024 12:12:04 +0100 Subject: [PATCH] fix: removed additional conditional chaining --- .../View/PaginaArgomentoView/PaginaArgomentoView.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoView.jsx b/src/components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoView.jsx index 11cecd2b3..8d3a1ac9b 100644 --- a/src/components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoView.jsx +++ b/src/components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoView.jsx @@ -109,8 +109,8 @@ const PaginaArgomentoView = ({ content }) => { {uo_object && - (uo_object?.image_scales?.image?.length > 0 || - uo_object?.image_scales?.preview_image?.length > + (uo_object.image_scales?.image?.length > 0 || + uo_object.image_scales?.preview_image?.length > 0) && (