We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0f9f54 commit 9bc3d5bCopy full SHA for 9bc3d5b
src/components/user/login.jsx
@@ -386,10 +386,10 @@ function Login() {
386
)}
387
388
{usernamePasswordLogins.length > 0 &&
389
- usernamePasswordLogins.map((loginMethod) => (
390
- <div key={loginMethod.provider}>
+ usernamePasswordLogins.map(({ label, type }) => (
+ <div key={type}>
391
<h2 className="h4 mt-5 mb-3 fw-light">
392
- {loginMethod.label ?? t("os2-display-user-header")}
+ {label ?? t("os2-display-user-header")}
393
</h2>
394
395
<Form onSubmit={onSubmit}>
0 commit comments