Skip to content

Commit 0fc6fa8

Browse files
author
Suresh Sivasankaran
committed
get rid of unwanted deps in useMemo
1 parent 226b479 commit 0fc6fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/ui/messages/extension/say/SayMcpServerResponseMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const SayMcpServerResponseMessage: React.FC<MessageComponentProps> = ({ m
3838

3939
// Fall back to plain text format
4040
return message.text
41-
}, [message.text, message])
41+
}, [message])
4242

4343
// Format content with metadata
4444
const formatted = useMemo(

0 commit comments

Comments
 (0)