From 01e124492f5166919efbe352d0494964cce381df Mon Sep 17 00:00:00 2001 From: Charl Date: Tue, 12 Mar 2024 18:28:16 +0000 Subject: [PATCH] Fix spelling mistake charaters -> characters --- src/routes/(admin)/account/api/+page.server.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/(admin)/account/api/+page.server.ts b/src/routes/(admin)/account/api/+page.server.ts index f63aa703..46a919c0 100644 --- a/src/routes/(admin)/account/api/+page.server.ts +++ b/src/routes/(admin)/account/api/+page.server.ts @@ -209,7 +209,7 @@ export const actions = { validationError = "Name is required" errorFields.push("fullName") } else if (fullName.length > fieldMaxTextLength) { - validationError = `Name must be less than ${fieldMaxTextLength} charaters` + validationError = `Name must be less than ${fieldMaxTextLength} characters` errorFields.push("fullName") } if (!companyName) { @@ -217,7 +217,7 @@ export const actions = { "Company name is required. If this is a hobby project or personal app, please put your name." errorFields.push("companyName") } else if (companyName.length > fieldMaxTextLength) { - validationError = `Company name must be less than ${fieldMaxTextLength} charaters` + validationError = `Company name must be less than ${fieldMaxTextLength} characters` errorFields.push("companyName") } if (!website) { @@ -225,7 +225,7 @@ export const actions = { "Company website is required. An app store URL is a good alternative if you don't have a website." errorFields.push("website") } else if (website.length > fieldMaxTextLength) { - validationError = `Company website must be less than ${fieldMaxTextLength} charaters` + validationError = `Company website must be less than ${fieldMaxTextLength} characters` errorFields.push("website") } if (validationError) {