|-/redux | |-/cards |- index.ts |- cardsSlice.ts |- cardsThunks.ts
const initialState: SliceState = { cardsData: [], isLoadingCardsData: false, cardsRefreshSuccess: false, };
getCards: retrieves an array with the customer's debit cards.
getIsLoadingCardsData: whether the customer's debit cards array is being requested or not.
getCardRefreshSuccess: when they customer requested to show their card's real data.
Last updated 1 year ago