diff --git a/app/src/components/model/connectivity/ConnectivityCheck.js b/app/src/components/model/connectivity/ConnectivityCheck.js index 226cdb1d..5f3a91ce 100644 --- a/app/src/components/model/connectivity/ConnectivityCheck.js +++ b/app/src/components/model/connectivity/ConnectivityCheck.js @@ -36,28 +36,29 @@ function ConnectivityCheck() {   Who broke the internet? - {isEstablishing || - (timeout && ( - - *modem noises* connecting... - - ))} - {!isEstablishing && !isConnected && !timeout && ( - <> - - Your websocket connection to the server has timed out or been - closed remotely. This could be due to bad connectivity, or the - Gram server having a bad time. - + <> + {isEstablishing || + (timeout && ( + + *modem noises* connecting... + + ))} + {!isEstablishing && !isConnected && !timeout && ( + <> + + Your websocket connection to the server has timed out or been + closed remotely. This could be due to bad connectivity, or the + Gram server having a bad time. + - {fails > 0 && ( - <> -
- Reconnection failed, try again? - - )} + {fails > 0 && ( + <> +
+ Reconnection failed, try again? + + )} - {/* Unfortunately the error given is not very descriptive. + {/* Unfortunately the error given is not very descriptive. https://stackoverflow.com/questions/18803971/websocket-onerror-how-to-read-error-description {error && ( <> @@ -65,23 +66,24 @@ function ConnectivityCheck() {
{JSON.stringify(error)}
)} */} -
+
- - - )} + + + )} +
);