diff --git a/src/selectors.js b/src/selectors.js index 69f73e2..e90b4e9 100644 --- a/src/selectors.js +++ b/src/selectors.js @@ -28,7 +28,7 @@ export function buildSelectors( return R.merge( { state }, R.mapValues( - subduxes['*'].selectors, + subduxes['*']?.selectors ?? {}, (selector) => (...args) => { let value = selector(state);