fix(perf): suppress Show raw toggle in bare mode MarkdownViewer
This commit is contained in:
parent
f2231d7dad
commit
bb03a12a48
1 changed files with 2 additions and 2 deletions
|
|
@ -1183,8 +1183,8 @@ export const MarkdownViewer: React.FC<MarkdownViewerProps> = React.memo(function
|
|||
</div>
|
||||
)}
|
||||
|
||||
{/* Show raw toggle for no-label path */}
|
||||
{!label && (
|
||||
{/* Show raw toggle for no-label path (skip in bare mode) */}
|
||||
{!label && !bare && (
|
||||
<div
|
||||
className="flex items-center justify-between px-3 py-1 text-xs"
|
||||
style={{ color: COLOR_TEXT_MUTED }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue