diff --git a/src/app/actionListener.ts b/src/app/actionListener.ts index 0968b7d4..0c13fb2a 100644 --- a/src/app/actionListener.ts +++ b/src/app/actionListener.ts @@ -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()) }