diff --git a/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Navigation.js b/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Navigation.js index f195ea1b1..5f9c19640 100644 --- a/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Navigation.js +++ b/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Navigation.js @@ -2,13 +2,25 @@ import { Button } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import TopNavigation from '../../../ReusableComponents/TopNavigation'; +import { StylingHooks } from '../../../../data'; const SettingsNavigation = () => { + const { persist: persistStyling } = StylingHooks.useStore(); + const isBusy = false; // TODO: Implement loading state. + + const handleSaveClick = () => { + persistStyling(); + }; + const title = __( 'PayPal Payments', 'woocommerce-paypal-payments' ); return ( -