io-app
io-app copied to clipboard
chore: [IOBP-563] Empty states in new `PaymentHomeScreen`
Short description
added empty states for the various sections in PaymentHomeScreen
DEPENDS ON https://github.com/pagopa/io-app/pull/5535
|
|
|
List of changes proposed in this pull request
- added empty state for payment methods section
- added empty state for payment history section
- added empty state for the case where both are missing
- added I18n entries where needed
further logic (as in "add payment method" CTA, or "start payment flow" CTA) will be added in future PR
How to test
With the dev-server running, navigate to profile>payments page playground and from the code bypass the selectors for payment methods and payment history, making sure the page behaves as expected