I am getting linting errors as follows. Why is this occurring even when I destruct?
error Must use destructuring props assignment react/destructuring-assignment
The lines with issues.
const { imageName, header, description } = props.cardContentData || {};
const { description, content = [] } = props.cardData || {};