Update frontend/src/utils/form.ts

Co-authored-by: Emma Segal-Grossman <hi@emma.cafe>
This commit is contained in:
sua yoo 2024-07-16 12:57:12 -07:00 committed by GitHub
parent a234a36057
commit 38a877fa8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,7 +54,7 @@ export function maxLengthValidator(maxLength: number): MaxLengthValidator {
el.setCustomValidity(
isInvalid
? msg(str`Please shorten this text to ${maxLength} or less characters.`)
? msg(str`Please shorten this text to ${maxLength} or fewer characters.`)
: "",
);