summary empty

This commit is contained in:
Николай Полтщук 2024-07-18 17:26:32 +03:00
parent 7bf0243dbe
commit d18dfae32d

View File

@ -210,9 +210,11 @@ export const Summary = () => {
{selectedSkills.length > index + 1 && ","} {selectedSkills.length > index + 1 && ","}
</span> </span>
))} ))}
{Boolean(!selectedSkills?.length) && {Boolean(!selectedSkills?.length) && (
<p style={{fontSize: '16px', fontWeight: '400'}}>Данные не заполнены</p> <p style={{ fontSize: "16px", fontWeight: "400" }}>
} Данные не заполнены
</p>
)}
</div> </div>
)} )}
</div> </div>
@ -261,7 +263,9 @@ export const Summary = () => {
) : ( ) : (
<div <div
className="experience__content" className="experience__content"
dangerouslySetInnerHTML={{ __html: summary ? summary : "<p>Данные не заполнены</p>" }} dangerouslySetInnerHTML={{
__html: summary ? summary : "<p>Данные не заполнены</p>"
}}
></div> ></div>
)} )}
</div> </div>