mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Settings UI: Fix merchant features state retrieval in hooks
This commit is contained in:
parent
ab3cca33ec
commit
b902d2eea2
3 changed files with 8 additions and 1 deletions
|
@ -133,6 +133,7 @@ export const useWebhooks = () => {
|
|||
checkWebhookSimulationState,
|
||||
};
|
||||
};
|
||||
|
||||
export const useMerchantInfo = () => {
|
||||
const { isReady, merchant, features } = useHooks();
|
||||
const { refreshMerchantData } = useDispatch( STORE_NAME );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue