From 3cd5a2b5abc2b4d8eceb89536f2a7eba87e2cd78 Mon Sep 17 00:00:00 2001 From: BrunoQuaresma Date: Fri, 2 Aug 2024 15:46:14 +0000 Subject: [PATCH] chore(site): remove proxy menu warnings about using fragment as child --- site/src/modules/dashboard/Navbar/ProxyMenu.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/site/src/modules/dashboard/Navbar/ProxyMenu.tsx b/site/src/modules/dashboard/Navbar/ProxyMenu.tsx index 61fb88fd190a0..5d5abb0056730 100644 --- a/site/src/modules/dashboard/Navbar/ProxyMenu.tsx +++ b/site/src/modules/dashboard/Navbar/ProxyMenu.tsx @@ -121,9 +121,10 @@ export const ProxyMenu: FC = ({ proxyContextValue }) => { // the descriptive text and will only have access to the latency options autoFocus={false} > - {proxyContextValue.proxies && proxyContextValue.proxies.length > 1 && ( - <> + {proxyContextValue.proxies && + proxyContextValue.proxies.length > 1 && [
= ({ proxyContextValue }) => { color: theme.palette.text.secondary, lineHeight: "inherit", marginTop: 0.5, + marginBottom: 0, }} > Workspace proxies improve terminal and web app connections to @@ -162,11 +164,10 @@ export const ProxyMenu: FC = ({ proxyContextValue }) => { connections. A region must be manually selected, otherwise the default primary region will be used.

-
+ , - - - )} + , + ]} {proxyContextValue.proxies && [...proxyContextValue.proxies]