Hopefully the last small tweaks and fixes to transfer logs

This commit is contained in:
Matthew Penner 2020-12-16 19:30:12 -07:00
parent 8d297a0918
commit 5668a780e2
3 changed files with 14 additions and 10 deletions

View file

@ -53,16 +53,12 @@ export default () => {
return;
}
// Force a reconnection to the websocket which will connect us
// to the target node instead of the source node.
// Close the current websocket connection.
// This code forces a reconnection to the websocket which will connect us to the target node instead of the source node
// in order to be able to receive transfer logs from the target node.
socket.close();
setError('connecting');
setConnectionState(false);
setInstance(null);
connect(uuid);
});