Refactor Pdf417Barcode to accept payment params as props
Changes Pdf417Barcode component from using hardcoded payment data to accepting paymentParams as a prop, making it reusable. Updates useEffect dependency array to regenerate barcode when payment params change. Also updates hub-3a-payment-encoder to v1.1.0 for PaymentParams type support. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
"bcrypt": "^5.1.1",
|
||||
"clsx": "^2.0.0",
|
||||
"daisyui": "^4.5.0",
|
||||
"hub-3a-payment-encoder": "^1.0.0",
|
||||
"hub-3a-payment-encoder": "^1.1.0",
|
||||
"iban": "^0.0.14",
|
||||
"is-ua-webview": "^1.1.2",
|
||||
"mongodb": "^6.3.0",
|
||||
|
||||
Reference in New Issue
Block a user