R
Reactiflux

help-js

✅ – dmikester1 – 17-04 Dec 14

Ddmikester112/14/2022
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>
)
)}
removed most of the code to make it easier to find the error
UUUnknown User12/14/2022
7 Messages Not Public
Sign In & Join Server To View
Ddmikester112/14/2022
ok, that makes sense, thank you
UUUnknown User12/15/2022
3 Messages Not Public
Sign In & Join Server To View

Looking for more? Join the community!