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 (