Skip to content

Commit 75b058a

Browse files
authored
chore: fix agent tooltips (#4654)
1 parent f9480ed commit 75b058a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

site/src/components/Resources/AgentLatency.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export const AgentLatency: FC<{ agent: WorkspaceAgent }> = ({ agent }) => {
5454
aria-label="latency"
5555
ref={anchorRef}
5656
onMouseEnter={() => setIsOpen(true)}
57+
onMouseLeave={() => setIsOpen(false)}
5758
className={styles.trigger}
5859
style={{ color: latency.color }}
5960
>

site/src/components/Resources/AgentVersion.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export const AgentVersion: FC<{
3232
aria-label="latency"
3333
ref={anchorRef}
3434
onMouseEnter={() => setIsOpen(true)}
35+
onMouseLeave={() => setIsOpen(false)}
3536
className={styles.trigger}
3637
>
3738
Agent Outdated

0 commit comments

Comments
 (0)