import { memo, Suspense } from 'react' import PdfLogsViewer from './pdf-logs-viewer' import PdfViewer from './pdf-viewer' import { usePdfPreviewContext } from '../contexts/pdf-preview-context' import withErrorBoundary from '../../../infrastructure/error-boundary' import PdfPreviewToolbar from './pdf-preview-toolbar' function PdfPreviewPane() { const { showLogs } = usePdfPreviewContext() return (
Loading…
}>
{showLogs && } ) } export default memo(withErrorBoundary(PdfPreviewPane))