mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
Use create instead of connect
This commit is contained in:
parent
4ca780962a
commit
e74557d461
|
@ -423,7 +423,7 @@ class DevToolsEnhancer<S, A extends Action<unknown>> {
|
|||
)
|
||||
return;
|
||||
|
||||
this.socket = socketCluster.connect(this.socketOptions);
|
||||
this.socket = socketCluster.create(this.socketOptions);
|
||||
|
||||
this.socket.on('error', (err) => {
|
||||
// if we've already had this error before, increment it's counter, otherwise assign it '1' since we've had the error once.
|
||||
|
|
Loading…
Reference in New Issue
Block a user