diff --git a/services/web/frontend/js/features/ide-react/components/editor-and-pdf.tsx b/services/web/frontend/js/features/ide-react/components/editor-and-pdf.tsx index 6d664bcc20..6a9e4cd441 100644 --- a/services/web/frontend/js/features/ide-react/components/editor-and-pdf.tsx +++ b/services/web/frontend/js/features/ide-react/components/editor-and-pdf.tsx @@ -103,7 +103,7 @@ export const EditorAndPdf: FC = () => { onExpand={handlePdfPaneExpand} className="ide-react-panel" > - {pdfIsOpen && } + {/* ensure that "sync to code" is available in PDF only layout */} {pdfLayout === 'flat' && view === 'pdf' && (