This PR adds the error state to payment cards which are expired.
List of changes proposed in this pull request
Removed isError from PaymentCardSmallProps, which is now based on payment expiry date.
How to test
With theio-dev-api-server, checkout this PR https://github.com/pagopa/io-dev-api-server/pull/361, enable the New wallet section FF from the profile screen in the IO app.
Check that in the payments landing screen you can see an error card.
Short description
This PR adds the error state to payment cards which are expired.
List of changes proposed in this pull request
isError
fromPaymentCardSmallProps
, which is now based on payment expiry date.How to test
With the
io-dev-api-server
, checkout this PR https://github.com/pagopa/io-dev-api-server/pull/361, enable the New wallet section FF from the profile screen in the IO app. Check that in the payments landing screen you can see an error card.Preview