mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
🔥 Remove useless state value
This commit is contained in:
parent
c8fd798f62
commit
b05a3e933f
3 changed files with 4 additions and 9 deletions
|
@ -17,8 +17,7 @@ const useAxoSetup = (
|
|||
paymentComponent,
|
||||
onChangeCardButtonClick,
|
||||
setShippingAddress,
|
||||
setCard,
|
||||
setWooPhone
|
||||
setCard
|
||||
) => {
|
||||
const { setIsAxoActive, setIsAxoScriptLoaded } = useDispatch( STORE_NAME );
|
||||
const paypalLoaded = usePayPalScript( ppcpConfig );
|
||||
|
@ -35,7 +34,7 @@ const useAxoSetup = (
|
|||
setBillingAddress: setWooBillingAddress,
|
||||
} = useCustomerData();
|
||||
|
||||
usePhoneSyncHandler( paymentComponent, setWooPhone );
|
||||
usePhoneSyncHandler( paymentComponent );
|
||||
|
||||
useEffect( () => {
|
||||
console.log( 'Initializing class toggles' );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue