Update client dependencies
This commit is contained in:
parent
c5062066cb
commit
77b53bfc5e
23 changed files with 1858 additions and 1363 deletions
|
@ -5,7 +5,7 @@ export default function createCommandMiddleware(type, handlers) {
|
|||
const command = words[0];
|
||||
const params = words.slice(1);
|
||||
|
||||
if (handlers.hasOwnProperty(command)) {
|
||||
if (Object.prototype.hasOwnProperty.call(handlers, command)) {
|
||||
handlers[command]({
|
||||
dispatch: store.dispatch,
|
||||
getState: store.getState,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue