From 500a789e055f13abeb4200159567719f160c870d Mon Sep 17 00:00:00 2001 From: Bruno Quaresma Date: Fri, 2 Aug 2024 18:52:47 -0300 Subject: [PATCH] chore(site): remove proxy menu warnings about using fragment as child (#14121) --- 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 61fb88fd19..5d5abb0056 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]