summary_fix #37

Merged
nik.polishuk merged 2 commits from summary_fix into main 2024-07-18 17:27:55 +03:00
Showing only changes of commit d18dfae32d - Show all commits

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>