diff --git a/packages/webpack-plugin/lib/runtime/components/react/mpx-checkbox.tsx b/packages/webpack-plugin/lib/runtime/components/react/mpx-checkbox.tsx index 3a9c646202..1e18b17cac 100644 --- a/packages/webpack-plugin/lib/runtime/components/react/mpx-checkbox.tsx +++ b/packages/webpack-plugin/lib/runtime/components/react/mpx-checkbox.tsx @@ -141,7 +141,7 @@ const Checkbox = forwardRef, CheckboxProps>( const nodeRef = useRef(null) useNodesRef(props, ref, nodeRef, { - style: extendObject({}, defaultStyle, normalStyle), + style: normalStyle, change: onChange }) diff --git a/packages/webpack-plugin/lib/runtime/components/react/mpx-radio.tsx b/packages/webpack-plugin/lib/runtime/components/react/mpx-radio.tsx index 8928325270..1b17c451eb 100644 --- a/packages/webpack-plugin/lib/runtime/components/react/mpx-radio.tsx +++ b/packages/webpack-plugin/lib/runtime/components/react/mpx-radio.tsx @@ -136,7 +136,7 @@ const Radio = forwardRef, RadioProps>( const nodeRef = useRef(null) useNodesRef(props, ref, nodeRef, { - style: extendObject({}, defaultStyle, normalStyle), + style: normalStyle, change: onChange })