format before injectino

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

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

Loading…
Cancel
Save