mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
refactor: update Prettier printWidth to 100 (#2684)
This commit is contained in:
@ -43,16 +43,18 @@ export const CreateUserForm: FC<CreateUserFormProps> = ({
|
||||
error,
|
||||
myOrgId,
|
||||
}) => {
|
||||
const form: FormikContextType<TypesGen.CreateUserRequest> = useFormik<TypesGen.CreateUserRequest>({
|
||||
initialValues: {
|
||||
email: "",
|
||||
password: "",
|
||||
username: "",
|
||||
organization_id: myOrgId,
|
||||
const form: FormikContextType<TypesGen.CreateUserRequest> = useFormik<TypesGen.CreateUserRequest>(
|
||||
{
|
||||
initialValues: {
|
||||
email: "",
|
||||
password: "",
|
||||
username: "",
|
||||
organization_id: myOrgId,
|
||||
},
|
||||
validationSchema,
|
||||
onSubmit,
|
||||
},
|
||||
validationSchema,
|
||||
onSubmit,
|
||||
})
|
||||
)
|
||||
const getFieldHelpers = getFormHelpers<TypesGen.CreateUserRequest>(form, formErrors)
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user