diff --git a/packages/builder/src/components/start/CreateAppModal.svelte b/packages/builder/src/components/start/CreateAppModal.svelte index 84d1ef7fa3..1ca192a6c9 100644 --- a/packages/builder/src/components/start/CreateAppModal.svelte +++ b/packages/builder/src/components/start/CreateAppModal.svelte @@ -58,20 +58,14 @@ email: string() .email() .required("Your application needs a first user."), - password: string().required( - "Please enter a password for your first user." - ), + password: string().required("Please enter a password for your first user."), roleId: string().required("You need to select a role for your user."), } let submitting = false let errors = {} let validationErrors = {} - let validationSchemas = [ - apiValidation, - infoValidation, - userValidation, - ] + let validationSchemas = [apiValidation, infoValidation, userValidation] function buildStep(component) { return { @@ -89,10 +83,7 @@ if (hostingInfo.type === "self") { isApiKeyValid = true steps = [buildStep(Info), buildStep(User)] - validationSchemas = [ - infoValidation, - userValidation, - ] + validationSchemas = [infoValidation, userValidation] } })