mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: fix agent tooltips (#4654)
This commit is contained in:
@@ -54,6 +54,7 @@ export const AgentLatency: FC<{ agent: WorkspaceAgent }> = ({ agent }) => {
|
||||
aria-label="latency"
|
||||
ref={anchorRef}
|
||||
onMouseEnter={() => setIsOpen(true)}
|
||||
onMouseLeave={() => setIsOpen(false)}
|
||||
className={styles.trigger}
|
||||
style={{ color: latency.color }}
|
||||
>
|
||||
|
||||
@@ -32,6 +32,7 @@ export const AgentVersion: FC<{
|
||||
aria-label="latency"
|
||||
ref={anchorRef}
|
||||
onMouseEnter={() => setIsOpen(true)}
|
||||
onMouseLeave={() => setIsOpen(false)}
|
||||
className={styles.trigger}
|
||||
>
|
||||
Agent Outdated
|
||||
|
||||
Reference in New Issue
Block a user