How to fix Warning: Invalid property name (e.g., 'for', 'class') in React | DevErrors