Users can see and manage their saved payment cards on the wallet page: set a default, remove a card and search by nickname.
useCards
useSetDefaultCard
useRemoveCard
SavedCards
WalletPage
Added, switched and removed cards on staging. Checked an expired card shows the muted style.
8c4e9ff
8b4e9e6
8e4ea31
What
Users can see and manage their saved payment cards on the wallet page: set a default, remove a card and search by nickname.
How
useCards,useSetDefaultCard,useRemoveCard(TanStack Query v5), default changes are optimisticSavedCards: list with expired styling, matching text in the nickname is highlighted while searchingWalletPageTesting
Added, switched and removed cards on staging. Checked an expired card shows the muted style.