Skip to content

Commit 5cb4a1e

Browse files
committed
Add check event
1 parent 5846237 commit 5cb4a1e

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/overmind/effects/live

1 file changed

+1
-1
lines changed

packages/app/src/app/overmind/effects/live/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export default new (class Live {
168168
data && data._messageId && sentMessages.delete(data._messageId)
169169
);
170170

171-
if (event === 'phx_reply' || event.startsWith('chan_reply_')) {
171+
if (event && (event === 'phx_reply' || event.startsWith('chan_reply_'))) {
172172
// No action listens to this
173173
return data;
174174
}

0 commit comments

Comments
 (0)