SyntaxFix
Write A Post
Hire A Developer
Questions
Issue: 'id1' is missing in props validation, eslintreact/prop-types
<div id={props.id1} > ... </div>
Below solution worked, in a function component:
let { id1 } = props; <div id={id1} > ... </div>
Hope that helps.