File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class HookActions {
7575 let error ;
7676 if ( typeof reducer !== "function" ) {
7777 error = new TypeError (
78- `async action "${ key } " must return a reducer function; instead got "${ typeof reducer } "`
78+ `async action "${ reducer } " must return a reducer function; instead got "${ typeof reducer } "`
7979 ) ;
8080 }
8181 this . __state = reducer . apply ( this ) ;
@@ -87,7 +87,7 @@ class HookActions {
8787 } else {
8888 if ( typeof reducer !== "function" ) {
8989 error = new TypeError (
90- `async action "${ key } " must return a reducer function; instead got "${ typeof reducer } "`
90+ `action "${ reducer } " must return a reducer function; instead got "${ typeof reducer } "`
9191 ) ;
9292 }
9393 this . __state = reducerOrPromise . apply ( this ) ;
You can’t perform that action at this time.
0 commit comments