format before injectino

pull/73/head
Derrek Gass 5 years ago
parent d89a8223eb
commit 70366ffee6

@ -124,7 +124,9 @@
)
const techs = ['HTML', 'CSS', 'JavaScript']
// format before injection
const techsFormatted = techs.map((tech) => <li>{tech}</li>)
const header = (
<header>
<div className = 'header-wrapper'>
@ -156,7 +158,7 @@
</strong>
:
</p>
<ul>{techs}</ul>
<ul>{techsFormatted}</ul>
{result}
{personAge}
</div>

Loading…
Cancel
Save