Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions site/src/modules/dashboard/Navbar/ProxyMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,10 @@ export const ProxyMenu: FC<ProxyMenuProps> = ({ 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 && [
<div
key="description"
css={{
width: "100%",
maxWidth: "320px",
Expand Down Expand Up @@ -152,6 +153,7 @@ export const ProxyMenu: FC<ProxyMenuProps> = ({ proxyContextValue }) => {
color: theme.palette.text.secondary,
lineHeight: "inherit",
marginTop: 0.5,
marginBottom: 0,
}}
>
Workspace proxies improve terminal and web app connections to
Expand All @@ -162,11 +164,10 @@ export const ProxyMenu: FC<ProxyMenuProps> = ({ proxyContextValue }) => {
connections. A region must be manually selected, otherwise the
default primary region will be used.
</p>
</div>
</div>,

<Divider />
</>
)}
<Divider key="divider" />,
]}

{proxyContextValue.proxies &&
[...proxyContextValue.proxies]
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy