We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56e1c81 commit e26d1ddCopy full SHA for e26d1dd
packages/core/src/controllers/EventsController.ts
@@ -40,15 +40,15 @@ export const EventsController = {
40
state,
41
42
subscribe(callback: (newState: EventsControllerState) => void) {
43
- return sub(state, () => callback(state));
+ return sub(state, () => callback(state), true);
44
},
45
46
subscribeEvent(event: EventName, callback: (newEvent: EventsControllerState) => void) {
47
return sub(state, () => {
48
if (state.data.event === event) {
49
callback(state);
50
}
51
- });
+ }, true);
52
53
54
trackWalletImpression(props: {
0 commit comments