🚚 Move help section to reusable components dir

This commit is contained in:
Philipp Stracker 2025-08-08 17:51:33 +02:00
parent 2ec6daca38
commit 1e9e566094
No known key found for this signature in database
2 changed files with 6 additions and 9 deletions

View file

@ -1,12 +1,9 @@
import { __ } from '@wordpress/i18n'; import { __ } from '@wordpress/i18n';
import { FeatureSettingsBlock } from '../../../../../ReusableComponents/SettingsBlocks'; import { FeatureSettingsBlock } from './SettingsBlocks';
import { import { Content, ContentWrapper } from './Elements';
Content, import SettingsCard from './SettingsCard';
ContentWrapper,
} from '../../../../../ReusableComponents/Elements';
import SettingsCard from '../../../../../ReusableComponents/SettingsCard';
const Help = () => { const HelpSection = () => {
return ( return (
<SettingsCard <SettingsCard
className="ppcp-r-tab-overview-help" className="ppcp-r-tab-overview-help"
@ -69,4 +66,4 @@ const Help = () => {
); );
}; };
export default Help; export default HelpSection;

View file

@ -1,7 +1,7 @@
import { __ } from '@wordpress/i18n'; import { __ } from '@wordpress/i18n';
import Todos from '../Components/Overview/Todos/Todos'; import Todos from '../Components/Overview/Todos/Todos';
import Features from '../Components/Overview/Features/Features'; 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 { TodosHooks, CommonHooks, FeaturesHooks } from '../../../../data';
import SpinnerOverlay from '../../../ReusableComponents/SpinnerOverlay'; import SpinnerOverlay from '../../../ReusableComponents/SpinnerOverlay';
import usePaymentGatewaySync from '../../../../hooks/usePaymentGatewaySync'; import usePaymentGatewaySync from '../../../../hooks/usePaymentGatewaySync';