Skip to content

Commit 8815d2c

Browse files
committed
Fix #4 and bump to major version due to MultipleMonitors removal
1 parent 603b174 commit 8815d2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redux-devtools-dispatch",
3-
"version": "1.0.0",
3+
"version": "2.0.1",
44
"description": "Dispatch your actions manually to test if your app reacts well",
55
"main": "lib/index.js",
66
"scripts": {

src/Dispatcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export default class Dispatcher extends Component {
149149
if(object.hasOwnProperty(propertyName)) {
150150
if(typeof prop === "function") {
151151
functions.push({
152-
name: namespace + (prop.name || 'anonymous'),
152+
name: namespace + (propertyName || prop.name || 'anonymous'),
153153
func: prop,
154154
args: getParams(prop),
155155
});

0 commit comments

Comments
 (0)