fix socket subscription

This commit is contained in:
Aymeric DEBUISSON 2025-10-29 09:18:26 +01:00
parent 10f112c0ee
commit c724dfa947

View File

@ -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);
}