diff --git a/src/apps/chat/components/composer/llmattachments/LLMAttachmentMenu.tsx b/src/apps/chat/components/composer/llmattachments/LLMAttachmentMenu.tsx
index 872aa1160..7fe0178ab 100644
--- a/src/apps/chat/components/composer/llmattachments/LLMAttachmentMenu.tsx
+++ b/src/apps/chat/components/composer/llmattachments/LLMAttachmentMenu.tsx
@@ -49,7 +49,7 @@ export function LLMAttachmentMenu(props: {
isPositionFirst: boolean,
isPositionLast: boolean,
onClose: () => void,
- onDraftAction: (attachmentDraftId: AttachmentDraftId, actionId: LLMAttachmentDraftsAction) => void,
+ onDraftAction?: (attachmentDraftId: AttachmentDraftId, actionId: LLMAttachmentDraftsAction) => void,
onViewDocPart: (docPart: DMessageDocPart) => void,
onViewImageRefPart: (imageRefPart: DMessageImageRefPart) => void
}) {
@@ -223,15 +223,15 @@ export function LLMAttachmentMenu(props: {
)}
- {SHOW_INLINING_OPERATIONS && }
- {SHOW_INLINING_OPERATIONS && (
-