mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
Fix app
This commit is contained in:
parent
af24dba5d8
commit
83b6c49a45
|
@ -195,8 +195,10 @@ function connect() {
|
|||
socket = socketCluster.create(connection.options);
|
||||
handleConnection();
|
||||
} catch (error) {
|
||||
store.dispatch({ type: actions.CONNECT_ERROR, error });
|
||||
store.dispatch(showNotification(error.message || error));
|
||||
store.dispatch({ type: actions.CONNECT_ERROR, error: error as Error });
|
||||
store.dispatch(
|
||||
showNotification((error as Error).message || (error as string))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user