Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

style(chat): arrow memo wrappers for eslint prefer-arrow-callback

M3gA-Mind55244a908818
diff --git a/app/src/components/assistant-ui/markdown-text.tsx b/app/src/components/assistant-ui/markdown-text.tsx
index dbe2890fad..3ea12e5260 100644
--- a/app/src/components/assistant-ui/markdown-text.tsx
+++ b/app/src/components/assistant-ui/markdown-text.tsx
@@ -160,7 +160,7 @@ const MarkdownTextImpl = ({ citations }: { citations: boolean }) => {
};
/** The chat's markdown renderer; also an assistant-ui `Text` part component. */
-export const MarkdownText = memo(function MarkdownText() {
+export const MarkdownText = memo(() => {
return <MarkdownTextImpl citations />;
});
@@ -169,7 +169,7 @@ export const MarkdownText = memo(function MarkdownText() {
* sub-agent's report on its delegation card): its `[n]` markers refer to
* sources the enclosing message does not have, so they stay plain text.
*/
-export const MarkdownTextNoCitations = memo(function MarkdownTextNoCitations() {
+export const MarkdownTextNoCitations = memo(() => {
return <MarkdownTextImpl citations={false} />;
});