mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-12-10 11:44:32 +03:00
fix socket subscription
This commit is contained in:
parent
10f112c0ee
commit
c724dfa947
|
|
@ -402,6 +402,9 @@ class DevToolsEnhancer<S, A extends Action<string>, PreloadedState> {
|
|||
for await (const data of this.socket!.subscribe(channelName)) {
|
||||
this.handleMessages(data as Message<S, A>);
|
||||
}
|
||||
for await (const data of this.socket!.subscribe('sc-' + this.socket!.id)) {
|
||||
this.handleMessages(data as Message<S, A>);
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user