mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
chore: replace eslint with biome (#14263)
This commit is contained in:
committed by
GitHub
parent
7b09d98238
commit
d15f16fa2e
@ -1,21 +1,21 @@
|
||||
import Link from "@mui/material/Link";
|
||||
import MenuItem from "@mui/material/MenuItem";
|
||||
import TextField from "@mui/material/TextField";
|
||||
import { type FormikContextType, useFormik } from "formik";
|
||||
import type { FC } from "react";
|
||||
import * as Yup from "yup";
|
||||
import { hasApiFieldErrors, isApiError } from "api/errors";
|
||||
import type * as TypesGen from "api/typesGenerated";
|
||||
import { ErrorAlert } from "components/Alert/ErrorAlert";
|
||||
import { FormFooter } from "components/FormFooter/FormFooter";
|
||||
import { FullPageForm } from "components/FullPageForm/FullPageForm";
|
||||
import { Stack } from "components/Stack/Stack";
|
||||
import { type FormikContextType, useFormik } from "formik";
|
||||
import type { FC } from "react";
|
||||
import {
|
||||
displayNameValidator,
|
||||
getFormHelpers,
|
||||
nameValidator,
|
||||
onChangeTrimmed,
|
||||
} from "utils/formUtils";
|
||||
import * as Yup from "yup";
|
||||
|
||||
export const Language = {
|
||||
emailLabel: "Email",
|
||||
@ -164,7 +164,7 @@ export const CreateUserForm: FC<
|
||||
{methods.map((value) => {
|
||||
const language = authMethodLanguage[value];
|
||||
return (
|
||||
<MenuItem key={value} id={"item-" + value} value={value}>
|
||||
<MenuItem key={value} id={`item-${value}`} value={value}>
|
||||
<Stack
|
||||
spacing={0}
|
||||
css={{
|
||||
|
Reference in New Issue
Block a user