fixed unique key prop error in the cols mapping the login buttons

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2020-05-15 20:59:07 +02:00 committed by Philip Molares
parent 41f969fda6
commit 56ff708e35

View file

@ -39,7 +39,12 @@ const Login: React.FC = () => {
.filter((value) => authProviders[value]) .filter((value) => authProviders[value])
.map((value) => { .map((value) => {
return ( return (
<Col xs={12} md={4} className="p-2 d-flex flex-column"> <Col
xs={12}
md={4}
className="p-2 d-flex flex-column"
key={value}
>
<ViaOAuth2 oauth2Type={value}/> <ViaOAuth2 oauth2Type={value}/>
</Col> </Col>
) )