We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 603b174 commit 8815d2cCopy full SHA for 8815d2c
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "redux-devtools-dispatch",
3
- "version": "1.0.0",
+ "version": "2.0.1",
4
"description": "Dispatch your actions manually to test if your app reacts well",
5
"main": "lib/index.js",
6
"scripts": {
src/Dispatcher.js
@@ -149,7 +149,7 @@ export default class Dispatcher extends Component {
149
if(object.hasOwnProperty(propertyName)) {
150
if(typeof prop === "function") {
151
functions.push({
152
- name: namespace + (prop.name || 'anonymous'),
+ name: namespace + (propertyName || prop.name || 'anonymous'),
153
func: prop,
154
args: getParams(prop),
155
});
0 commit comments