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

Commit500a789

Browse files
chore(site): remove proxy menu warnings about using fragment as child (#14121)
1 parentf3ff172 commit500a789

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

‎site/src/modules/dashboard/Navbar/ProxyMenu.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,10 @@ export const ProxyMenu: FC<ProxyMenuProps> = ({ proxyContextValue }) => {
121121
// the descriptive text and will only have access to the latency options
122122
autoFocus={false}
123123
>
124-
{proxyContextValue.proxies&&proxyContextValue.proxies.length>1&&(
125-
<>
124+
{proxyContextValue.proxies&&
125+
proxyContextValue.proxies.length>1&&[
126126
<div
127+
key="description"
127128
css={{
128129
width:"100%",
129130
maxWidth:"320px",
@@ -152,6 +153,7 @@ export const ProxyMenu: FC<ProxyMenuProps> = ({ proxyContextValue }) => {
152153
color:theme.palette.text.secondary,
153154
lineHeight:"inherit",
154155
marginTop:0.5,
156+
marginBottom:0,
155157
}}
156158
>
157159
Workspace proxies improve terminal and web app connections to
@@ -162,11 +164,10 @@ export const ProxyMenu: FC<ProxyMenuProps> = ({ proxyContextValue }) => {
162164
connections. A region must be manually selected, otherwise the
163165
default primary region will be used.
164166
</p>
165-
</div>
167+
</div>,
166168

167-
<Divider/>
168-
</>
169-
)}
169+
<Dividerkey="divider"/>,
170+
]}
170171

171172
{proxyContextValue.proxies&&
172173
[...proxyContextValue.proxies]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp