From 003082cd764e3256ccbfa750e8403712e1e48c29 Mon Sep 17 00:00:00 2001 From: Samuel Rowe Date: Thu, 11 Aug 2022 09:08:53 +0530 Subject: [PATCH] feat: added top margin to error message in text field --- .../frontend/src/components/global/FormElements/TextField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/frontend/src/components/global/FormElements/TextField.tsx b/services/frontend/src/components/global/FormElements/TextField.tsx index 4a2c3ae..e6f7f43 100644 --- a/services/frontend/src/components/global/FormElements/TextField.tsx +++ b/services/frontend/src/components/global/FormElements/TextField.tsx @@ -41,7 +41,7 @@ const TextField: FunctionComponent = ( {...otherProps} /> -
+
{error && {error}} {!error && help}