Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
style(chat): wrap anchor props type assertion
James Dam556e9915e788
diff --git a/web-app/src/containers/RenderMarkdown.tsx b/web-app/src/containers/RenderMarkdown.tsxindex 2b11f5d5b..2b44f61c5 100644--- a/web-app/src/containers/RenderMarkdown.tsx+++ b/web-app/src/containers/RenderMarkdown.tsx@@ -303,9 +303,8 @@ function RenderMarkdownComponent({// Model and tool output must never navigate the app window. Open// allowed web links outside the app, without a second new-window request.// eslint-disable-next-line @typescript-eslint/no-unused-vars- const { node: _node, href: _href, target: _target, ...rest } = props as typeof props & {- node?: unknown- }+ const { node: _node, href: _href, target: _target, ...rest } = props as+ typeof props & { node?: unknown }const external = externalHref(href)if (external) {return (