diff --git a/src/app/atoms/button/RadioButton.jsx b/src/app/atoms/button/RadioButton.jsx index b10e0cf..c14a334 100644 --- a/src/app/atoms/button/RadioButton.jsx +++ b/src/app/atoms/button/RadioButton.jsx @@ -3,6 +3,7 @@ import PropTypes from 'prop-types'; import './RadioButton.scss'; function RadioButton({ isActive, onToggle }) { + if (onToggle === null) return ; return ( // eslint-disable-next-line jsx-a11y/control-has-associated-label