File tree Expand file tree Collapse file tree 1 file changed +19
-21
lines changed
site/src/modules/resources Expand file tree Collapse file tree 1 file changed +19
-21
lines changed Original file line number Diff line number Diff line change @@ -60,28 +60,26 @@ export const AgentLatency: FC<AgentLatencyProps> = ({ agent }) => {
60
60
This is the latency overhead on non peer to peer connections. The
61
61
first row is the preferred relay.
62
62
</ HelpTooltipText >
63
- < HelpTooltipText >
64
- < Stack direction = "column" spacing = { 1 } css = { { marginTop : 16 } } >
65
- { Object . entries ( agent . latency )
66
- . sort ( ( [ , a ] , [ , b ] ) => a . latency_ms - b . latency_ms )
67
- . map ( ( [ regionName , region ] ) => (
68
- < Stack
69
- direction = "row"
70
- key = { regionName }
71
- spacing = { 0.5 }
72
- justifyContent = "space-between"
73
- css = {
74
- region . preferred && {
75
- color : theme . palette . text . primary ,
76
- }
63
+ < Stack direction = "column" spacing = { 1 } css = { { marginTop : 16 } } >
64
+ { Object . entries ( agent . latency )
65
+ . sort ( ( [ , a ] , [ , b ] ) => a . latency_ms - b . latency_ms )
66
+ . map ( ( [ regionName , region ] ) => (
67
+ < Stack
68
+ direction = "row"
69
+ key = { regionName }
70
+ spacing = { 0.5 }
71
+ justifyContent = "space-between"
72
+ css = {
73
+ region . preferred && {
74
+ color : theme . palette . text . primary ,
77
75
}
78
- >
79
- < strong > { regionName } </ strong >
80
- { Math . round ( region . latency_ms ) } ms
81
- </ Stack >
82
- ) ) }
83
- </ Stack >
84
- </ HelpTooltipText >
76
+ }
77
+ >
78
+ < strong > { regionName } </ strong >
79
+ { Math . round ( region . latency_ms ) } ms
80
+ </ Stack >
81
+ ) ) }
82
+ </ Stack >
85
83
</ HelpTooltipContent >
86
84
</ HelpTooltip >
87
85
</ TooltipProvider >
You can’t perform that action at this time.
0 commit comments