Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return null;
}
return {
...state,
routeKeyHistory: state.routeKeyHistory.slice(0, -1),
index,
};
}
default:
return null;
}
default:
return BaseRouter.getStateForAction(state, action);
}
},
return router.getStateForAction(
state,
{
type: 'POP',
payload: { count: 1 },
target: action.target,
source: action.source,
},
options
);
}
return null;
default:
return BaseRouter.getStateForAction(state, action);
}
},