refactor: update Prettier printWidth to 100 (#2684)

This commit is contained in:
Abhineet Jain
2022-06-27 10:53:44 -04:00
committed by GitHub
parent 09722ae1ef
commit 82938944e7
108 changed files with 786 additions and 232 deletions

View File

@ -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 (