Refactor the email button, shipping change button, and watermark code to a more modular structure

This commit is contained in:
Daniel Dudzic 2024-09-13 15:27:10 +02:00
parent f470fb0c53
commit 3315fbe116
No known key found for this signature in database
GPG key ID: 31B40D33E3465483
22 changed files with 438 additions and 237 deletions

View file

@ -1,5 +1,5 @@
import { populateWooFields } from '../helpers/fieldHelpers';
import { injectShippingChangeButton } from '../helpers/shippingChangeButtonManager';
import { injectShippingChangeButton } from '../components/shipping';
import { injectCardChangeButton } from '../helpers/cardChangeButtonManager';
import { setIsGuest } from '../stores/axoStore';