Showing 4,862 of 4,862 total issues
Avoid too many return
statements within this function. Open
Open
return {
...state,
archive: insert(message, state.archive),
inbox: remove(message, state.inbox),
latestMessageOperation: E.left({
Avoid too many return
statements within this function. Open
Open
return {
...state,
processingResult: undefined,
status: "processing"
};
Avoid too many return
statements within this function. Open
Open
return {
...state,
fromInboxToArchive: duplicateSetAndRemove(
state.fromInboxToArchive,
action.payload.messageId
Avoid too many return
statements within this function. Open
Open
return {
instruments: pipe(
pot.getOrElse(state.instruments, null),
O.fromNullable,
O.map(el => el.instrumentList),
Avoid too many return
statements within this function. Open
Open
return formatDateAsLocal(date, true);
Avoid too many return
statements within this function. Open
Open
return {
...state,
archive: {
...state.archive,
data: pot.toError(state.archive.data, {
Avoid too many return
statements within this function. Open
Open
return "error";
Avoid too many return
statements within this function. Open
Open
return {
...state,
archive: replace(message, state.archive),
inbox: replace(message, state.inbox)
};
Avoid too many return
statements within this function. Open
Open
return {
...state,
archive: {
...state.archive,
data: pot.toError(state.inbox.data, {
Avoid too many return
statements within this function. Open
Open
return {
...state,
inbox: {
...state.inbox,
data: pot.toError(state.inbox.data, {
Avoid too many return
statements within this function. Open
Open
return {
...state,
latestMessageOperation: E.right(
update.isArchived ? "archive" : "restore"
)
Avoid too many return
statements within this function. Open
Open
return {
...state,
instrumentStatus: {
...state.instrumentStatus,
[instrumentId]: pot.toError(
Avoid too many return
statements within this function. Open
Open
return state;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return state;
Avoid too many return
statements within this function. Open
Open
return {
...state,
featuredInstitutions: pot.noneLoading
};
Avoid too many return
statements within this function. Open
Open
return {
...state,
analyticsData: {
...state.analyticsData,
receiptOrganizationName: action.payload.carts?.[0]?.payee?.name,
Avoid too many return
statements within this function. Open
Open
return {
...state,
featuredServices: pot.toUpdating(state.featuredServices, {
services: []
})
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return state;