mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #35033 from overleaf/mj-drop-dark-mode-components-opt-in
[web] Remove explicit dark mode component opt-in GitOrigin-RevId: b28603a9989bd046039c247ee2cf9f740c9feac0
This commit is contained in:
committed by
Copybot
parent
e9127933e6
commit
ef8fce67f1
+1
-9
@@ -28,15 +28,7 @@ function PdfPreviewDetachedRootContent() {
|
||||
activeOverallTheme === 'dark' ? 'default' : 'light'
|
||||
}, [activeOverallTheme])
|
||||
|
||||
return (
|
||||
<EditorRedesignWrapper>
|
||||
<PdfPreview />
|
||||
</EditorRedesignWrapper>
|
||||
)
|
||||
}
|
||||
function EditorRedesignWrapper({ children }: { children: React.ReactNode }) {
|
||||
// TODO ide-redesign-cleanup: this wrapper should not be required
|
||||
return <div className="ide-redesign-main">{children}</div>
|
||||
return <PdfPreview />
|
||||
}
|
||||
|
||||
export default PdfPreviewDetachedRoot // for testing
|
||||
|
||||
Reference in New Issue
Block a user