ts/store/reducers/wallet/payment.ts
Function reducer
has 142 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const reducer = (
state: PaymentState = PAYMENT_INITIAL_STATE,
action: Action
): PaymentState => {
switch (action.type) {
File payment.ts
has 273 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import * as pot from "@pagopa/ts-commons/lib/pot";
import * as O from "fp-ts/lib/Option";
import { createSelector } from "reselect";
import { getType } from "typesafe-actions";
import { PspData } from "../../../../definitions/pagopa/PspData";