Skip to content

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

refactor(chat): keep ChatView.tsx within its size limit

luishron1234da774a144d2
diff --git a/src/components/ChatView.tsx b/src/components/ChatView.tsx
index 97c098bba7..2ce29ba6b9 100644
--- a/src/components/ChatView.tsx
+++ b/src/components/ChatView.tsx
@@ -1167,11 +1167,7 @@ export const ChatView = memo(function ChatView({ bot: profile, inForkPanel = fal
<div ref={composerDockRef} className="pointer-events-none absolute inset-x-0 bottom-0 z-[2] chat-column-dock">
<SkillBurgerSlot botId={bot.id} threadId={bot.threadId} busy={Boolean(bot.busy)} canWrite={mayWrite} messages={messages} liveTools={liveTools} transcriptKey={transcriptKey} />
- {showJumpToLatest && (
- <div className="relative">
- <JumpToLatestButton onClick={jumpToLatest} className="pointer-events-auto bottom-2" />
- </div>
- )}
+ {showJumpToLatest && <div className="relative"><JumpToLatestButton onClick={jumpToLatest} className="pointer-events-auto bottom-2" /></div>}
<BotExchangeLine />
<LiveCallBar bot={bot} />
{canWrite === false ? (