diff --git a/src/components/ConnectionIndicator.tsx b/src/components/ConnectionIndicator.tsx index cad14fec..f1b81730 100644 --- a/src/components/ConnectionIndicator.tsx +++ b/src/components/ConnectionIndicator.tsx @@ -9,7 +9,6 @@ import { useAuthStore } from '../store/authStore'; import { switchActiveServer } from '../utils/server/switchActiveServer'; import { showToast } from '../utils/ui/toast'; import { serverListDisplayLabel } from '../utils/server/serverDisplayName'; -import ServerScanActions from './settings/ServerScanActions'; interface Props { status: ConnectionStatus; @@ -164,34 +163,23 @@ export default function ConnectionIndicator({ status, isLan, serverName }: Props const busy = switchingId !== null; const labelText = serverListDisplayLabel(srv, servers); return ( -
onPickServer(srv)} > - - {switchingId === srv.id ? ( -
- ) : active ? ( - - ) : null} - - - -
+ {labelText} + {switchingId === srv.id ? ( +
+ ) : active ? ( + + ) : ( + + )} + ); })}