From 157cf7d96617fe754492a1a54151e452b9e377ab Mon Sep 17 00:00:00 2001
From: Philipp Stracker
Date: Tue, 17 Dec 2024 15:03:15 +0100
Subject: [PATCH] =?UTF-8?q?=E2=8F=AA=EF=B8=8F=20Revert=20recent=20changes?=
=?UTF-8?q?=20from=20PCP-4025?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../SettingsBlocks/FeatureSettingsBlock.js | 78 ++++++++-----------
1 file changed, 32 insertions(+), 46 deletions(-)
diff --git a/modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsBlocks/FeatureSettingsBlock.js b/modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsBlocks/FeatureSettingsBlock.js
index f2d66e9a3..e2681a909 100644
--- a/modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsBlocks/FeatureSettingsBlock.js
+++ b/modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsBlocks/FeatureSettingsBlock.js
@@ -11,56 +11,42 @@ const FeatureSettingsBlock = ( { title, description, ...props } ) => {
}
return (
- <>
-
- { notes.map( ( note, index ) => (
- { note }
- ) ) }
-
- >
+
+ { notes.map( ( note, index ) => (
+ { note }
+ ) ) }
+
);
};
return (
- (
- <>
-
-
- { title }
- { props.actionProps?.enabled && (
-
- ) }
-
-
- { description }
- { printNotes() }
-
-
-
-
- { props.actionProps?.buttons.map(
- ( button ) => (
-
- )
- ) }
-
-
- >
- ),
- ] }
- />
+
+
+
+ { title }
+ { props.actionProps?.enabled && (
+
+ ) }
+
+
+ { description }
+ { printNotes() }
+
+
+
+
+ { props.actionProps?.buttons.map( ( button ) => (
+
+ ) ) }
+
+
+
);
};