fix: wrap tooltip icon triggers in span for Radix compatibility

TooltipTrigger asChild requires a native element to forward props.
Lucide icon components did not reliably receive data-state and event
handlers, so tooltips on the check-failed and git-pending indicators
did not open. Wrapped each icon in a span.
This commit is contained in:
SaelixCode
2026-07-02 12:48:57 -04:00
parent ba702474bd
commit f9a80f30dc
+2 -2
View File
@@ -117,12 +117,12 @@ export function StackRow(props: StackRowProps) {
/>
) : checkStatus === 'failed' ? (
<RowTooltip
trigger={<AlertCircle className="w-3 h-3 text-muted-foreground/70" strokeWidth={1.5} />}
trigger={<span><AlertCircle className="w-3 h-3 text-muted-foreground/70" strokeWidth={1.5} /></span>}
label={lastError ? `Update check failed: ${lastError}` : 'Update check failed'}
/>
) : hasGitPending ? (
<RowTooltip
trigger={<GitBranch className="w-3 h-3 text-brand" strokeWidth={1.5} />}
trigger={<span><GitBranch className="w-3 h-3 text-brand" strokeWidth={1.5} /></span>}
label="Git source update pending"
/>
) : null}