How to fix Keys should not be passed as JSX attributes in React | DevErrors