🔥 Remove useless state value

This commit is contained in:
Philipp Stracker 2024-09-16 17:56:00 +02:00
parent c8fd798f62
commit b05a3e933f
No known key found for this signature in database
3 changed files with 4 additions and 9 deletions

View file

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