fix: remove unused isMobile prop from UserTextPart component

This commit is contained in:
Bohdan Triapitsyn
2025-12-13 17:39:36 +02:00
parent 52784073c2
commit 1a3d5c628a
@@ -18,7 +18,7 @@ const buildMentionUrl = (name: string): string => {
return `https://opencode.ai/docs/agents/#${encoded}`;
};
const UserTextPart: React.FC<UserTextPartProps> = ({ part, messageId, isMobile, agentMention }) => {
const UserTextPart: React.FC<UserTextPartProps> = ({ part, messageId, agentMention }) => {
const partWithText = part as PartWithText;
const rawText = partWithText.text;
const textContent = typeof rawText === 'string' ? rawText : partWithText.content || partWithText.value || '';