ui : fix formatting in drag-and-drop import

This commit is contained in:
Aleksander Grygier
2026-08-17 11:00:33 +02:00
parent dd02ae6a6b
commit c81f79e714
2 changed files with 6 additions and 3 deletions
@@ -51,8 +51,8 @@
</Dialog.Title>
<Dialog.Description>
{conversations.length} conversation{conversations.length === 1 ? '' : 's'} imported.
Select one to open it.
{conversations.length} conversation{conversations.length === 1 ? '' : 's'} imported. Select
one to open it.
</Dialog.Description>
</Dialog.Header>
@@ -53,7 +53,10 @@ export function useChatScreenDragAndDrop(options: UseChatScreenDragAndDropOption
// Defer import files (conversation/settings exports) to the global
// drag-and-drop import handler instead of attaching them to a message.
if (files.some(isImportFileByExtension)) {
console.log('[chat-drop] deferring import files:', files.map((f) => f.name));
console.log(
'[chat-drop] deferring import files:',
files.map((f) => f.name)
);
return;
}