As you are passing card to ProfileCard component, its passing 4 values in props.
{login: string, name: string, key: number, id: number}
But your interface has only 2
interface ProfileCardProps{
login: string;
name: string;
}
Adding key and id should solve the issue.
interface ProfileCardProps{
login: string;
name: string;
id:any;
key: any;
}