Переглянути джерело

Typo; .withMiddlewares actually exported.

Herby Vojčík 6 роки тому
батько
коміт
f1a710da28
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      index.js

+ 2 - 2
index.js

@@ -35,7 +35,7 @@ export default () => {
         return this;
     }
 
-    function withMIddlewares (..._middlewares) {
+    function withMiddlewares (..._middlewares) {
         middlewares.push(..._middlewares);
         return this;
     }
@@ -59,5 +59,5 @@ export default () => {
         return store;
     }
 
-    return {withReducers, withEffects, withPersistence, on, create};
+    return {withReducers, withMiddlewares, withEffects, withPersistence, on, create};
 }