From 26f689a3aeeec2c9a55af37b60ae9542716c7839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=9F=E3=81=B5=E3=81=BF?= Date: Wed, 25 Sep 2024 10:13:08 +0900 Subject: [PATCH] =?UTF-8?q?fix(RadioButton):=20=E5=A4=96=E9=83=A8=E3=81=8B?= =?UTF-8?q?=E3=82=89=E3=81=AEid=E3=82=92defaultId=E3=82=88=E3=82=8A?= =?UTF-8?q?=E5=84=AA=E5=85=88=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20(#4948)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/smarthr-ui/src/components/RadioButton/RadioButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/smarthr-ui/src/components/RadioButton/RadioButton.tsx b/packages/smarthr-ui/src/components/RadioButton/RadioButton.tsx index 9da0269ac9..05e2adbf75 100644 --- a/packages/smarthr-ui/src/components/RadioButton/RadioButton.tsx +++ b/packages/smarthr-ui/src/components/RadioButton/RadioButton.tsx @@ -73,7 +73,7 @@ export const RadioButton = forwardRef( ) const defaultId = useId() - const radioButtonId = defaultId || props.id + const radioButtonId = props.id || defaultId return (