Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(site): remove proxy menu warnings about using fragment as child#14121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
BrunoQuaresma merged 1 commit intomainfrombq/fix-proxy-menu-warning
Aug 2, 2024
Merged
Changes fromall 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 deletionssite/src/modules/dashboard/Navbar/ProxyMenu.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff 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 DownExpand 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

[8]ページ先頭

©2009-2025 Movatter.jp