🩹 Fix React deprecation warnings

This commit is contained in:
Philipp Stracker 2025-01-28 12:53:33 +01:00
parent dc6c8e2316
commit d547a3b218
No known key found for this signature in database
4 changed files with 5 additions and 3 deletions

View file

@ -29,7 +29,7 @@ const PaymentMethodItemBlock = ( {
</p>
<div className="ppcp--method-footer">
<ToggleControl
__nextHasNoMarginBottom={ true }
__nextHasNoMarginBottom
checked={ isSelected }
onChange={ onSelect }
/>