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