From 1f014295a54f1e16b8bd94da729fb0afd143f7fe Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Mon, 21 Sep 2020 23:27:44 +0900 Subject: Fix component test --- src/settings/components/ui/TextArea.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/settings/components/ui') diff --git a/src/settings/components/ui/TextArea.tsx b/src/settings/components/ui/TextArea.tsx index 58b7bd3..9dcd5be 100644 --- a/src/settings/components/ui/TextArea.tsx +++ b/src/settings/components/ui/TextArea.tsx @@ -46,7 +46,9 @@ const TextArea: React.FC = (props) => { - {hasError ? {props.error} : null} + {hasError ? ( + {props.error} + ) : null} ); }; -- cgit v1.2.3