mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Re-add a code comment
This commit is contained in:
parent
9b7cb5f401
commit
9c4385298c
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ const usePhoneSyncHandler = ( paymentComponent ) => {
|
|||
|
||||
const { shippingAddress, billingAddress } = useCustomerData();
|
||||
|
||||
// Create a debounced function that updates the prefilled phone-number.
|
||||
const debouncedUpdatePhone = useRef(
|
||||
debounce( updatePrefills, PHONE_DEBOUNCE_DELAY )
|
||||
).current;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue