Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Composer dock: drop a comment that restates the function

luishron123f92d87908839
diff --git a/src/lib/composer-dock.ts b/src/lib/composer-dock.ts
index 3a088ae4be..3d12f8b0d0 100644
--- a/src/lib/composer-dock.ts
+++ b/src/lib/composer-dock.ts
@@ -12,7 +12,6 @@ export function transcriptEndPad(composerHeightPx: number): string {
return `calc(${height}px + ${TRANSCRIPT_GAP})`;
}
-/** From the dock's bottom edge up to the top of the message box, leaving out the chips and attachments stacked above it. */
export function messageBoxHeight(dock: Pick<DOMRect, "bottom">, box: Pick<DOMRect, "top"> | undefined): number {
return box ? Math.max(0, dock.bottom - box.top) : 0;
}