Fixed more linting
Some checks failed
ci / test (push) Has been cancelled
ci / Check if version upgrade (push) Has been cancelled
ci / create_github_release (push) Has been cancelled

This commit is contained in:
Tom Butcher 2025-08-04 01:35:48 +01:00
parent 39e1a036a4
commit a890c85c74

View File

@ -7,14 +7,14 @@ import { kcSanitize } from "keycloakify/lib/kcSanitize";
import * as FaIcons from "react-icons/fa6";
import type { IconType } from "react-icons";
const { Title, Text, Link } = Typography;
const { Text, Link } = Typography;
export default function LoginUsername(props: PageProps<Extract<KcContext, { pageId: "login-username.ftl" }>, I18n>) {
const { kcContext, i18n, Template } = props;
const [isLoading, setIsLoading] = useState(false);
const [form] = Form.useForm();
const { social, realm, url, usernameHidden, login, registrationDisabled, client } = kcContext;
const { social, realm, url, usernameHidden, login, registrationDisabled } = kcContext;
const { msg, msgStr } = i18n;
// Function to dynamically fetch the correct icon