Skip to content
Prev Previous commit
fix(files): pass content directly to preview when not streaming to av…
…oid stale frame
  • Loading branch information
waleedlatif1 committed Mar 28, 2026
commit 51163c65f875c409f2562e3554c782bd5c7ead11
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ function TextEditor({
className={cn('min-w-0 flex-1 overflow-hidden', isResizing && 'pointer-events-none')}
>
<PreviewPanel
content={revealedContent}
content={isStreaming ? revealedContent : content}
mimeType={file.type}
filename={file.name}
isStreaming={isStreaming}
Expand Down
Loading