Skip to content

Commit

Permalink
refactor(app/actionListener): minor
Browse files Browse the repository at this point in the history
  • Loading branch information
exuanbo committed Jul 30, 2023
1 parent 5dadb4b commit a6d2aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/actionListener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const createActionListener = (): ActionListener => {
}

actionListener.listenAction = (actionCreator, __callback, { once = false } = {}) => {
const actionType = actionCreator.type
const { type: actionType } = actionCreator
if (!subscriptions.has(actionType)) {
subscriptions.set(actionType, new Set())
}
Expand Down

0 comments on commit a6d2aae

Please sign in to comment.