Skip to content

Commit

Permalink
Fix spelling mistake charaters -> characters
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlBest authored Mar 12, 2024
1 parent d0fca7a commit 01e1244
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/(admin)/account/api/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,23 +209,23 @@ 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) {
validationError =
"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) {
validationError =
"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) {
Expand Down

0 comments on commit 01e1244

Please sign in to comment.