diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b3eea93c2d..6feb84c95b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1029,8 +1029,8 @@ importers: specifier: 0.49.0 version: 0.49.0(typescript@5.9.3) lucide-react: - specifier: ^0.577.0 - version: 0.577.0(react@19.2.8) + specifier: ^1.32.0 + version: 1.32.0(react@19.2.8) mermaid: specifier: ^11.16.1 version: 11.16.1 @@ -6792,8 +6792,8 @@ packages: lru_map@0.4.1: resolution: {integrity: sha512-I+lBvqMMFfqaV8CJCISjI3wbjmwVu/VyOoU7+qtu9d7ioW5klMgsTTiUOUp+DJvfTTzKXoPbyC6YfgkNcyPSOg==} - lucide-react@0.577.0: - resolution: {integrity: sha512-4LjoFv2eEPwYDPg/CUdBJQSDfPyzXCRrVW1X7jrx/trgxnxkHFjnVZINbzvzxjN70dxychOfg+FTYwBiS3pQ5A==} + lucide-react@1.32.0: + resolution: {integrity: sha512-txX56hMFnRxPi1f9/nH69YN8uvAO6a7Y1KSWKjCDAtdD9+soEgmWuCt6iRm1pkxUZo2+YntSdsE1L6bIuKoY8Q==} peerDependencies: react: ^19.2.8 @@ -14258,7 +14258,7 @@ snapshots: lru_map@0.4.1: {} - lucide-react@0.577.0(react@19.2.8): + lucide-react@1.32.0(react@19.2.8): dependencies: react: 19.2.8 diff --git a/ui/package.json b/ui/package.json index 58a0f585cc..36ce03841e 100644 --- a/ui/package.json +++ b/ui/package.json @@ -58,7 +58,7 @@ "cmdk": "^1.1.1", "i18next": "^26.3.6", "lexical": "0.49.0", - "lucide-react": "^0.577.0", + "lucide-react": "^1.32.0", "mermaid": "^11.16.1", "motion": "^12.42.2", "radix-ui": "^1.6.7", diff --git a/ui/src/components/MarkdownBody.tsx b/ui/src/components/MarkdownBody.tsx index a26cafac79..98c06bf01f 100644 --- a/ui/src/components/MarkdownBody.tsx +++ b/ui/src/components/MarkdownBody.tsx @@ -1,9 +1,10 @@ import { isValidElement, memo, useCallback, useEffect, useId, useMemo, useRef, useState, type ReactNode } from "react"; import { useQuery } from "@tanstack/react-query"; -import { Check, Copy, ExternalLink, Github, WrapText } from "lucide-react"; +import { Check, Copy, ExternalLink, WrapText } from "lucide-react"; import Markdown, { defaultUrlTransform, type Components, type Options } from "react-markdown"; import remarkGfm from "remark-gfm"; import { cn } from "../lib/utils"; +import { GithubIcon } from "@/components/icons/github-icon"; import { Link, useCaseHref } from "@/lib/router"; import { useTheme } from "../context/ThemeContext"; import { useOptionalCompany } from "../context/CompanyContext"; @@ -895,7 +896,7 @@ function MarkdownBodyImpl({ const isGitHubLink = isGitHubUrl(href); const isExternal = isExternalHttpUrl(href); const leadingIcon = isGitHubLink ? ( -