Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx committed Jan 7, 2025
1 parent 2e6b399 commit 46dbca9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/src/app/chat/ChatPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,6 @@ export function ChatPage({
}
return;
}
// setIsReady(true);
const shouldScrollToBottom =
visibleRange.get(existingChatSessionId) === undefined ||
visibleRange.get(existingChatSessionId)?.end == 0;
Expand Down Expand Up @@ -2289,7 +2288,7 @@ export function ChatPage({
/>
)}

{true ? (
{documentSidebarInitialWidth !== undefined && isReady ? (
<Dropzone
key={currentSessionId()}
onDrop={handleImageUpload}
Expand Down

0 comments on commit 46dbca9

Please sign in to comment.