From 17ca3a0f323947d176f2d6fd21c8ce1ac0a9ec6c Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Wed, 27 Jul 2022 18:16:18 -0400 Subject: [PATCH] fix(striker-ui): make input help message toggleable --- striker-ui/components/OutlinedInputWithLabel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/striker-ui/components/OutlinedInputWithLabel.tsx b/striker-ui/components/OutlinedInputWithLabel.tsx index 7e34ccc9..4918b4f0 100644 --- a/striker-ui/components/OutlinedInputWithLabel.tsx +++ b/striker-ui/components/OutlinedInputWithLabel.tsx @@ -86,7 +86,7 @@ const OutlinedInputWithLabel: FC = ({ {helpText && ( { - setIsShowHelp(true); + setIsShowHelp(!isShowHelp); }} sx={{ color: GREY,