♻️ Add help section to all settings pages

This commit is contained in:
Philipp Stracker 2025-08-08 17:53:08 +02:00
parent 1e9e566094
commit 52275aeaef
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View file

@ -1,7 +1,6 @@
import { __ } from '@wordpress/i18n';
import Todos from '../Components/Overview/Todos/Todos';
import Features from '../Components/Overview/Features/Features';
import Help from '../../../ReusableComponents/HelpSection';
import { TodosHooks, CommonHooks, FeaturesHooks } from '../../../../data';
import SpinnerOverlay from '../../../ReusableComponents/SpinnerOverlay';
import usePaymentGatewaySync from '../../../../hooks/usePaymentGatewaySync';
@ -37,7 +36,6 @@ const TabOverview = () => {
>
<Todos />
<Features />
<Help />
</div>
);
};

View file

@ -1,4 +1,5 @@
import Container from '../../ReusableComponents/Container';
import HelpSection from '../../ReusableComponents/HelpSection';
import SettingsNavigation from './Components/Navigation';
import { getSettingsTabs } from './Tabs';
@ -13,7 +14,10 @@ const SettingsScreen = ( { activePanel, setActivePanel } ) => {
activePanel={ activePanel }
setActivePanel={ setActivePanel }
/>
<Container page="settings">{ Component }</Container>
<Container page="settings">
{ Component }
<HelpSection />
</Container>
</>
);
};