Fixed more linting
This commit is contained in:
parent
39e1a036a4
commit
a890c85c74
@ -7,14 +7,14 @@ import { kcSanitize } from "keycloakify/lib/kcSanitize";
|
|||||||
import * as FaIcons from "react-icons/fa6";
|
import * as FaIcons from "react-icons/fa6";
|
||||||
import type { IconType } from "react-icons";
|
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>) {
|
export default function LoginUsername(props: PageProps<Extract<KcContext, { pageId: "login-username.ftl" }>, I18n>) {
|
||||||
const { kcContext, i18n, Template } = props;
|
const { kcContext, i18n, Template } = props;
|
||||||
const [isLoading, setIsLoading] = useState(false);
|
const [isLoading, setIsLoading] = useState(false);
|
||||||
const [form] = Form.useForm();
|
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;
|
const { msg, msgStr } = i18n;
|
||||||
|
|
||||||
// Function to dynamically fetch the correct icon
|
// Function to dynamically fetch the correct icon
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user