overleaf/services/web/frontend/js/ide/editor/controllers/SwitchToPDFButton.js
Timothée Alby 7b8d277437 Merge pull request #8898 from overleaf/ta-change-redundant-controls
Change Redundant Layout Controls

GitOrigin-RevId: b50d71b1f75d202334442b3f6cb5037ed0d8a411
2022-07-21 08:04:25 +00:00

9 lines
334 B
JavaScript

import App from '../../../base'
import { react2angular } from 'react2angular'
import { rootContext } from '../../../shared/context/root-context'
import SwitchToPDFButton from '../../../features/source-editor/components/switch-to-pdf-button'
App.component(
'switchToPdfButton',
react2angular(rootContext.use(SwitchToPDFButton))
)