diff --git a/packages/cyberstorm-forms/src/components/FormSelectSearch.tsx b/packages/cyberstorm-forms/src/components/FormSelectSearch.tsx index 37f73c8b9..53a79674e 100644 --- a/packages/cyberstorm-forms/src/components/FormSelectSearch.tsx +++ b/packages/cyberstorm-forms/src/components/FormSelectSearch.tsx @@ -35,7 +35,7 @@ export function FormSelectSearch< disabled={isSubmitting || disabled} options={options} /> - {error &&
{error.message}
} + {error && {error.message}} ); } diff --git a/packages/cyberstorm-forms/src/components/FormTextInput.tsx b/packages/cyberstorm-forms/src/components/FormTextInput.tsx index 415f3b903..120f0d948 100644 --- a/packages/cyberstorm-forms/src/components/FormTextInput.tsx +++ b/packages/cyberstorm-forms/src/components/FormTextInput.tsx @@ -33,7 +33,7 @@ export function FormTextInput< color={isDirty || invalid ? (invalid ? "red" : "green") : undefined} disabled={isSubmitting || disabled} /> - {error &&
{error.message}
} + {error && {error.message}} ); }