Do not eagerly fetch all the suggested connections and their atoms right away
@@ -417,7 +417,11 @@ export function fetchConnectionsOfAtomAndDispatch(atomUri, dispatch) {
}),
});
const activeConnectionUris = connectionsWithStateAndSocket
- .filter(conn => conn.connectionState !== vocab.WON.Closed)
+ .filter(
+ conn =>
+ conn.connectionState !== vocab.WON.Closed &&
+ conn.connectionState !== vocab.WON.Suggested
+ )
.map(conn => conn.uri);
dispatch({
