fix(ci): resolve format, lint and typecheck failures
This commit is contained in:
7 files changed
+67
-79
No files matched your search
@@ -116,11 +116,12 @@ export const LoginForm = ({ providers, oidcClientName, isOidcAutoLoginEnabled, c
|
||||
{credentialInputsVisible && (
|
||||
<>
|
||||
<form
|
||||
onSubmit={form.onSubmit((credentials) =>
|
||||
void signInAsync(credentials.provider, {
|
||||
name: credentials.name,
|
||||
password: credentials.password,
|
||||
}),
|
||||
onSubmit={form.onSubmit(
|
||||
(credentials) =>
|
||||
void signInAsync(credentials.provider, {
|
||||
name: credentials.name,
|
||||
password: credentials.password,
|
||||
}),
|
||||
)}
|
||||
>
|
||||
<Stack gap="lg">
|
||||
|
||||
+2
-14
@@ -1,19 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { startTransition, useCallback, useState } from "react";
|
||||
import {
|
||||
Badge,
|
||||
Button,
|
||||
Card,
|
||||
Group,
|
||||
Stack,
|
||||
Stepper,
|
||||
Table,
|
||||
Text,
|
||||
TextInput,
|
||||
Title,
|
||||
Tooltip,
|
||||
} from "@mantine/core";
|
||||
import { Badge, Button, Card, Group, Stack, Stepper, Table, Text, TextInput, Title, Tooltip } from "@mantine/core";
|
||||
import { useListState } from "@mantine/hooks";
|
||||
import { IconPlus, IconUserCheck } from "@tabler/icons-react";
|
||||
import { z } from "zod/v4";
|
||||
@@ -23,10 +11,10 @@ import type { GroupPermissionKey } from "@homarr/definitions";
|
||||
import { everyoneGroup, groupPermissions } from "@homarr/definitions";
|
||||
import type { IsValid } from "@homarr/form";
|
||||
import { useZodForm } from "@homarr/form";
|
||||
import { UserCreatePasswordFields } from "@homarr/forms-collection";
|
||||
import { useModalAction } from "@homarr/modals";
|
||||
import { showErrorNotification } from "@homarr/notifications";
|
||||
import { useI18n, useScopedI18n } from "@homarr/translation/client";
|
||||
import { UserCreatePasswordFields } from "@homarr/forms-collection";
|
||||
import { UserAvatar } from "@homarr/ui";
|
||||
import { createCustomErrorParams } from "@homarr/validation/form/i18n";
|
||||
import { userPasswordSchema } from "@homarr/validation/user";
|
||||
|
||||
Reference in new issue
Block a user