Skip to content

Commit 207a0a1

Browse files
slavuganMetinSeylan
authored andcommitted
don't dispatch ping to store (MetinSeylan#188)
1 parent 6d5c798 commit 207a0a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/emitter.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ export default class EventEmitter{
7777

7878
}
7979

80-
this.dispatchStore(event, args);
80+
if(event !== 'ping' && event !== 'pong') {
81+
this.dispatchStore(event, args);
82+
}
8183

8284
}
8385

0 commit comments

Comments
 (0)