🩹 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

@ -5,7 +5,7 @@ const ControlToggleButton = ( { label, description, value, onChange } ) => (
<Action>
<ToggleControl
className="ppcp--control-toggle"
__nextHasNoMarginBottom={ true }
__nextHasNoMarginBottom
checked={ value }
onChange={ onChange }
label={ label }