From 1e9e5660940a0f11842029d862fc988a51a16b0b Mon Sep 17 00:00:00 2001
From: Philipp Stracker
Date: Fri, 8 Aug 2025 17:51:33 +0200
Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20Move=20help=20section=20to=20reu?=
=?UTF-8?q?sable=20components=20dir?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Help.js => ReusableComponents/HelpSection.js} | 13 +++++--------
.../Components/Screens/Settings/Tabs/TabOverview.js | 2 +-
2 files changed, 6 insertions(+), 9 deletions(-)
rename modules/ppcp-settings/resources/js/Components/{Screens/Settings/Components/Overview/Help/Help.js => ReusableComponents/HelpSection.js} (84%)
diff --git a/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Overview/Help/Help.js b/modules/ppcp-settings/resources/js/Components/ReusableComponents/HelpSection.js
similarity index 84%
rename from modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Overview/Help/Help.js
rename to modules/ppcp-settings/resources/js/Components/ReusableComponents/HelpSection.js
index afb1cc1f2..f1912ccde 100644
--- a/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Overview/Help/Help.js
+++ b/modules/ppcp-settings/resources/js/Components/ReusableComponents/HelpSection.js
@@ -1,12 +1,9 @@
import { __ } from '@wordpress/i18n';
-import { FeatureSettingsBlock } from '../../../../../ReusableComponents/SettingsBlocks';
-import {
- Content,
- ContentWrapper,
-} from '../../../../../ReusableComponents/Elements';
-import SettingsCard from '../../../../../ReusableComponents/SettingsCard';
+import { FeatureSettingsBlock } from './SettingsBlocks';
+import { Content, ContentWrapper } from './Elements';
+import SettingsCard from './SettingsCard';
-const Help = () => {
+const HelpSection = () => {
return (
{
);
};
-export default Help;
+export default HelpSection;
diff --git a/modules/ppcp-settings/resources/js/Components/Screens/Settings/Tabs/TabOverview.js b/modules/ppcp-settings/resources/js/Components/Screens/Settings/Tabs/TabOverview.js
index ee864ed34..d74aac397 100644
--- a/modules/ppcp-settings/resources/js/Components/Screens/Settings/Tabs/TabOverview.js
+++ b/modules/ppcp-settings/resources/js/Components/Screens/Settings/Tabs/TabOverview.js
@@ -1,7 +1,7 @@
import { __ } from '@wordpress/i18n';
import Todos from '../Components/Overview/Todos/Todos';
import Features from '../Components/Overview/Features/Features';
-import Help from '../Components/Overview/Help/Help';
+import Help from '../../../ReusableComponents/HelpSection';
import { TodosHooks, CommonHooks, FeaturesHooks } from '../../../../data';
import SpinnerOverlay from '../../../ReusableComponents/SpinnerOverlay';
import usePaymentGatewaySync from '../../../../hooks/usePaymentGatewaySync';