✅ – dmikester1 – 17-04 Dec 14

Struggling to find what syntax error is here in my JSX. My IDE is complaining about the first line with the first '('.
{visibleQCCheckForm !== '' && (
const inputsArray = areaInputs[visibleQCCheckForm];
return (
<div>
<h5 className={'text-center'}>
Please fill in the <strong>{selectedArea.label}</strong> Check form below.
</h5>
</div>
)
)}
{visibleQCCheckForm !== '' && (
const inputsArray = areaInputs[visibleQCCheckForm];
return (
<div>
<h5 className={'text-center'}>
Please fill in the <strong>{selectedArea.label}</strong> Check form below.
</h5>
</div>
)
)}
D
dmikester1491d ago
removed most of the code to make it easier to find the error
UU
Unknown User491d ago
D
dmikester1491d ago
ok, that makes sense, thank you
UU
Unknown User490d ago