import { memo, Suspense } from 'react' import PdfLogsViewer from './pdf-logs-viewer' import PdfViewer from './pdf-viewer' import LoadingSpinner from '../../../shared/components/loading-spinner' import PdfHybridPreviewToolbar from './pdf-preview-hybrid-toolbar' import PdfPreviewToolbar from './pdf-preview-toolbar' const newPreviewToolbar = new URLSearchParams(window.location.search).has( 'new_preview_toolbar' ) function PdfPreviewPane() { return (
{newPreviewToolbar ? : } }>
) } function LoadingPreview() { return (
) } export default memo(PdfPreviewPane)