diff --git a/packages/react-component-library/src/components/RadioE/RadioE.tsx b/packages/react-component-library/src/components/RadioE/RadioE.tsx index 72f8e9a5df..f041ac713b 100644 --- a/packages/react-component-library/src/components/RadioE/RadioE.tsx +++ b/packages/react-component-library/src/components/RadioE/RadioE.tsx @@ -67,12 +67,12 @@ export const RadioE = React.forwardRef( const handleClick = (event: React.MouseEvent) => { if (event.target !== localRef.current) { - localRef.current.click() + localRef.current?.click() } } const handleKeyUp = (_: React.KeyboardEvent) => { - localRef.current.focus() + localRef.current?.focus() } return (