@zengenti/contensis-react-base 3.2.3-beta.3 → 3.2.3-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3961,7 +3961,7 @@ const webApp = (app, ReactApp, config) => {
3961
3961
  // These keys are used for preparing server-side response headers only
3962
3962
  // and are not required in the client at all except for debugging ssr
3963
3963
  if (!((_selectCurrentSearch = selectors.selectCurrentSearch(reduxState)) !== null && _selectCurrentSearch !== void 0 && _selectCurrentSearch.includes('includeApiCalls'))) {
3964
- if (stateType === 'immutable') clonedState = clonedState.deleteIn(['routing'], 'apiCalls').deleteIn(['routing'], 'surrogateKeys');else {
3964
+ if (stateType === 'immutable') clonedState = clonedState.deleteIn(['routing', 'apiCalls']).deleteIn(['routing', 'surrogateKeys']);else {
3965
3965
  delete clonedState.routing.apiCalls;
3966
3966
  delete clonedState.routing.surrogateKeys;
3967
3967
  }