diff --git a/components/Form.tsx b/components/Form.tsx index b09a37b..f112734 100644 --- a/components/Form.tsx +++ b/components/Form.tsx @@ -77,7 +77,7 @@ function Form(): JSX.Element { // Check if there is a translation and replace message accordingly const setErrorMessage = (message: string) => { - if (message == undefined) { + if (!message) { return; }