mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
🩹 Add missing dependency to useCallback
This commit is contained in:
parent
b86ae2b1c7
commit
ca2aa4eff1
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ export const useHandleOnboardingButton = ( isSandbox ) => {
|
|||
// Ensure the onComplete handler is not removed by a PayPal init script.
|
||||
timerRef.current = setInterval( addHandler, 250 );
|
||||
},
|
||||
[ withActivity ]
|
||||
[ connectViaAuthCode, withActivity ]
|
||||
);
|
||||
|
||||
const removeCompleteHandler = useCallback( () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue