From d366342f059587deb44ee2a800a0ca94e96a4ddd Mon Sep 17 00:00:00 2001 From: lk11601 <31353377+lk11601@users.noreply.github.com> Date: Fri, 24 Feb 2023 15:27:54 +0800 Subject: [PATCH] Fixed a spelling error in an error from the Radio comp --- components/radio/radio.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/radio/radio.tsx b/components/radio/radio.tsx index 69b87cafe..d0e33cba7 100644 --- a/components/radio/radio.tsx +++ b/components/radio/radio.tsx @@ -58,7 +58,7 @@ const RadioComponent: React.FC> = ({ useWarning('Remove props "checked" if in the Radio.Group.', 'Radio') } if (radioValue === undefined) { - useWarning('Props "value" must be deinfed if in the Radio.Group.', 'Radio') + useWarning('Props "value" must be defined if in the Radio.Group.', 'Radio') } useEffect(() => { setSelfChecked(groupValue === radioValue)