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 36dbae3 commit 5dd9829Copy full SHA for 5dd9829
event-handler/receive.js
@@ -23,7 +23,7 @@ function receiverHandle (state, event) {
23
}
24
25
// flatten arrays of event listeners and remove undefined values
26
- let hooks = [].concat(
+ const hooks = [].concat(
27
state.hooks[`${event.name}.${event.payload.action}`],
28
state.hooks[event.name],
29
state.hooks['*']
0 commit comments