Reactiflux
Reactiflux

help-js

Root Question Message

dmikester1
dmikester112/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>
    )
)}
dmikester1
dmikester112/14/2022
removed most of the code to make it easier to find the error
Message Not Public

Sign In and Join Server To See

12/14/2022
Message Not Public

Sign In and Join Server To See

12/14/2022
Message Not Public

Sign In and Join Server To See

12/14/2022
Message Not Public

Sign In and Join Server To See

12/14/2022

Solution Message

Message Not Public

Sign In and Join Server To See

12/14/2022
Message Not Public

Sign In and Join Server To See

12/14/2022
Message Not Public

Sign In and Join Server To See

12/14/2022
dmikester1
dmikester112/14/2022
ok, that makes sense, thank you
ContactFrequently Asked QuestionsJoin The DiscordBugs & Feature RequestsTerms & Privacy