fix(mobile): use array shorthand in draft reconciliation

This commit is contained in:
Brennan Benson
2026-08-14 23:30:52 -07:00
parent 794e07c8dc
commit 9b9aa6f757
@@ -234,10 +234,7 @@ export function findLandedUnconfirmedSends(
// (`[Image: source: …]` or no text) keys under '' so an empty-text send can
// claim it.
const messageIndexById = new Map<string, number>()
const userMessagesByText = new Map<
string,
Array<{ id: string; index: number; imageCount: number }>
>()
const userMessagesByText = new Map<string, { id: string; index: number; imageCount: number }[]>()
for (const [index, message] of messages.entries()) {
messageIndexById.set(message.id, index)
if (message.role !== 'user') {