We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75f37f9 commit c0bb7f7Copy full SHA for c0bb7f7
src/createStore.ts
@@ -68,7 +68,6 @@ export default function createStore<
68
preloadedState?: PreloadedState<S> | StoreEnhancer<Ext, StateExt>,
69
enhancer?: StoreEnhancer<Ext, StateExt>
70
): Store<ExtendState<S, StateExt>, A, StateExt, Ext> & Ext {
71
-
72
if (typeof reducer !== 'function') {
73
throw new Error(
74
`Expected the root reducer to be a function. Instead, received: '${kindOf(
0 commit comments