From d18dfae32d3e0c02ffbf42438245a778fa2c5b26 Mon Sep 17 00:00:00 2001 From: M1kola Date: Thu, 18 Jul 2024 17:26:32 +0300 Subject: [PATCH] summary empty --- src/pages/Summary/Summary.jsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/pages/Summary/Summary.jsx b/src/pages/Summary/Summary.jsx index a821cec2..cbf19e6b 100644 --- a/src/pages/Summary/Summary.jsx +++ b/src/pages/Summary/Summary.jsx @@ -210,9 +210,11 @@ export const Summary = () => { {selectedSkills.length > index + 1 && ","} ))} - {Boolean(!selectedSkills?.length) && -

Данные не заполнены

- } + {Boolean(!selectedSkills?.length) && ( +

+ Данные не заполнены +

+ )} )} @@ -261,7 +263,9 @@ export const Summary = () => { ) : (
Данные не заполнены

" }} + dangerouslySetInnerHTML={{ + __html: summary ? summary : "

Данные не заполнены

" + }} >
)}