From 807af8bc074ebf43f29b833b486309eba4eba846 Mon Sep 17 00:00:00 2001 From: Kristof Csillag Date: Wed, 6 Nov 2024 13:37:21 +0100 Subject: [PATCH] Fix a typo in validation error message --- frontend/src/pages/CreatePollPage/useCreatePollForm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/CreatePollPage/useCreatePollForm.ts b/frontend/src/pages/CreatePollPage/useCreatePollForm.ts index 8cfa2d4..959b9e8 100644 --- a/frontend/src/pages/CreatePollPage/useCreatePollForm.ts +++ b/frontend/src/pages/CreatePollPage/useCreatePollForm.ts @@ -73,7 +73,7 @@ export const useCreatePollForm = () => { placeholder: 'Your question', required: [true, 'Please specify the question for your poll!'], minLength: [10, minLength => `Please describe the question using at least ${minLength} characters!`], - maxLength: [80, maxLength => `Please state the question in more more than ${maxLength} characters!`], + maxLength: [80, maxLength => `Please state the question in no more than ${maxLength} characters!`], }) const description = useTextField({