fix(frontend):lint error of message-list-item.tsx

This commit is contained in:
Willem Jiang 2026-04-15 23:35:50 +08:00
parent 0c21cbf01f
commit 242c654075

View File

@ -133,7 +133,7 @@ function MessageContent_({
<MessageImage {...props} threadId={threadId} maxWidth="90%" />
),
a: ({ href, ...props }: AnchorHTMLAttributes<HTMLAnchorElement>) => {
if (href && href.startsWith("/mnt/")) {
if (href?.startsWith("/mnt/")) {
const url = resolveArtifactURL(href, threadId);
return (
<a