From d547a3b21836b5739ffd8efd20721e49f8c4a318 Mon Sep 17 00:00:00 2001 From: Philipp Stracker Date: Tue, 28 Jan 2025 12:53:33 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Fix=20React=20deprecation=20warn?= =?UTF-8?q?ings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ReusableComponents/Controls/ControlToggleButton.js | 2 +- .../SettingsBlocks/PaymentMethodItemBlock.js | 2 +- .../js/Components/ReusableComponents/SettingsToggleBlock.js | 1 + .../js/Components/Screens/Settings/Components/Payment/Modal.js | 3 ++- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/ppcp-settings/resources/js/Components/ReusableComponents/Controls/ControlToggleButton.js b/modules/ppcp-settings/resources/js/Components/ReusableComponents/Controls/ControlToggleButton.js index 86350f5c7..2d648e20b 100644 --- a/modules/ppcp-settings/resources/js/Components/ReusableComponents/Controls/ControlToggleButton.js +++ b/modules/ppcp-settings/resources/js/Components/ReusableComponents/Controls/ControlToggleButton.js @@ -5,7 +5,7 @@ const ControlToggleButton = ( { label, description, value, onChange } ) => (
diff --git a/modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsToggleBlock.js b/modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsToggleBlock.js index 4a7cf1a20..614ad0a3b 100644 --- a/modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsToggleBlock.js +++ b/modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsToggleBlock.js @@ -43,6 +43,7 @@ const SettingsToggleBlock = ( {
setToggled( newState ) } diff --git a/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Payment/Modal.js b/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Payment/Modal.js index 8930167f3..1db3ae16a 100644 --- a/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Payment/Modal.js +++ b/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Payment/Modal.js @@ -66,7 +66,7 @@ const Modal = ( { method, setModalIsVisible, onSave } ) => { return (
{ return (