Skip to content

Commit

Permalink
Removes unnecessary prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordi-PV committed Jun 12, 2024
1 parent 8005c7b commit 6a20273
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const AIAssessmentFixesButton = ( { id, isPremium } ) => {
const activeMarker = useSelect( select => select( "yoast-seo/editor" ).getActiveMarker(), [] );
const { setActiveAIFixesButton, setActiveMarker, setMarkerPauseStatus } = useDispatch( "yoast-seo/editor" );
const focusElementRef = useRef( null );
const [buttonClass, setButtonClass] = useState( "" );
const [ buttonClass, setButtonClass ] = useState( "" );

/**
* Handles the button press state.
Expand Down Expand Up @@ -108,7 +108,6 @@ const AIAssessmentFixesButton = ( { id, isPremium } ) => {
AIAssessmentFixesButton.propTypes = {
id: PropTypes.string.isRequired,
isPremium: PropTypes.bool,
className: PropTypes.string,
};

AIAssessmentFixesButton.defaultProps = {
Expand Down

0 comments on commit 6a20273

Please sign in to comment.