From 63c092799fbd9e64885d361c3e2f59fe164193d0 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 7 Jan 2021 15:39:49 +0000 Subject: [PATCH] Linting. --- .../src/components/start/CreateAppModal.svelte | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) 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] } })