mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
add missing key to the iterating fragment element in SigningIn.tsx to get rid of react's error logs (#38815)
Closes #38814 Signed-off-by: Dusan Misic <dusan.misic@inventage.com> Co-authored-by: Dusan Misic <dmisic@inventage.com>
This commit is contained in:
parent
922294cd28
commit
39f863d48d
@ -20,7 +20,7 @@ import {
|
||||
ExclamationTriangleIcon,
|
||||
InfoAltIcon,
|
||||
} from "@patternfly/react-icons";
|
||||
import { CSSProperties, useState } from "react";
|
||||
import { CSSProperties, Fragment, useState } from "react";
|
||||
import { Trans, useTranslation } from "react-i18next";
|
||||
import { useEnvironment } from "@keycloak/keycloak-ui-shared";
|
||||
import { getCredentials } from "../api/methods";
|
||||
@ -194,7 +194,7 @@ export const SigningIn = () => {
|
||||
{credentials
|
||||
.filter((cred) => cred.category == category)
|
||||
.map((container) => (
|
||||
<>
|
||||
<Fragment key={container.category}>
|
||||
<Split className="pf-v5-u-mt-lg pf-v5-u-mb-lg">
|
||||
<SplitItem>
|
||||
<Title
|
||||
@ -295,7 +295,7 @@ export const SigningIn = () => {
|
||||
</DataListItem>
|
||||
))}
|
||||
</DataList>
|
||||
</>
|
||||
</Fragment>
|
||||
))}
|
||||
</PageSection>
|
||||
))}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user