Re-add a code comment

This commit is contained in:
Daniel Dudzic 2024-09-24 14:49:55 +02:00
parent 9b7cb5f401
commit 9c4385298c
No known key found for this signature in database
GPG key ID: 31B40D33E3465483

View file

@ -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;