-
-
- {!isServerWithId(selectedServer) && 'Could not find this Shlink server.'}
- {isServerWithId(selectedServer) && (
- <>
- Oops! Could not connect to this Shlink server.
- Make sure you have internet connection, and the server is properly configured and on-line.
- >
- )}
-
-
-
-
- These are the Shlink servers currently configured. Choose one of
- them or add a new one.
-
-
- {isServerWithId(selectedServer) && (
-
-
- Alternatively, if you think you may have miss-configured this server, you
- can remove it or
- edit it.
-
+
+
+
+
+ {!isServerWithId(selectedServer) && 'Could not find this Shlink server.'}
+ {isServerWithId(selectedServer) && (
+ <>
+ Oops! Could not connect to this Shlink server.
+ Make sure you have internet connection, and the server is properly configured and on-line.
+ >
+ )}
+
- )}
-
+
+
+ These are the Shlink servers currently configured. Choose one of
+ them or add a new one.
+
+
+ {isServerWithId(selectedServer) && (
+
+
+ Alternatively, if you think you may have miss-configured this server, you
+ can remove it or
+ edit it.
+
+
+ )}
+
+
);
diff --git a/src/servers/helpers/withSelectedServer.tsx b/src/servers/helpers/withSelectedServer.tsx
index d0a08b88..742bf160 100644
--- a/src/servers/helpers/withSelectedServer.tsx
+++ b/src/servers/helpers/withSelectedServer.tsx
@@ -2,6 +2,7 @@ import { FC, useEffect } from 'react';
import { RouteComponentProps } from 'react-router';
import Message from '../../utils/Message';
import { isNotFoundServer, SelectedServer } from '../data';
+import NoMenuLayout from '../../common/NoMenuLayout';
interface WithSelectedServerProps extends RouteComponentProps<{ serverId: string }> {
selectServer: (serverId: string) => void;
@@ -18,9 +19,9 @@ export function withSelectedServer
(WrappedComponent: FC
-
-
+