mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
♻️ Add help section to all settings pages
This commit is contained in:
parent
1e9e566094
commit
52275aeaef
2 changed files with 5 additions and 3 deletions
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -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>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue