diff --git a/packages/opencode/src/cli/cmd/tui/ui/link.tsx b/packages/opencode/src/cli/cmd/tui/ui/link.tsx index 3b328e478d6..dc05fab6a9e 100644 --- a/packages/opencode/src/cli/cmd/tui/ui/link.tsx +++ b/packages/opencode/src/cli/cmd/tui/ui/link.tsx @@ -8,21 +8,18 @@ export interface LinkProps { fg?: RGBA } -/** - * Link component that renders clickable hyperlinks. - * Clicking anywhere on the link text opens the URL in the default browser. - */ export function Link(props: LinkProps) { const displayText = props.children ?? props.href return ( { open(props.href).catch(() => {}) }} > - {displayText} + + {displayText} + ) }