|
@@ -1,5 +1,4 @@
|
|
|
import { useTranslation } from 'react-i18next'
|
|
import { useTranslation } from 'react-i18next'
|
|
|
-import PreviewLogsPaneEntry from '../../preview/components/preview-logs-pane-entry'
|
|
|
|
|
import { memo } from 'react'
|
|
import { memo } from 'react'
|
|
|
import classnames from 'classnames'
|
|
import classnames from 'classnames'
|
|
|
import PdfValidationIssue from './pdf-validation-issue'
|
|
import PdfValidationIssue from './pdf-validation-issue'
|
|
@@ -10,9 +9,10 @@ import PdfDownloadFilesButton from './pdf-download-files-button'
|
|
|
import PdfLogsEntries from './pdf-logs-entries'
|
|
import PdfLogsEntries from './pdf-logs-entries'
|
|
|
import withErrorBoundary from '../../../infrastructure/error-boundary'
|
|
import withErrorBoundary from '../../../infrastructure/error-boundary'
|
|
|
import ErrorBoundaryFallback from './error-boundary-fallback'
|
|
import ErrorBoundaryFallback from './error-boundary-fallback'
|
|
|
-import PdfCodeCheckFailedNotice from '../../preview/components/pdf-code-check-failed-notice'
|
|
|
|
|
-import PdfLogsPaneInfoNotice from '../../preview/components/pdf-logs-pane-info-notice'
|
|
|
|
|
|
|
+import PdfCodeCheckFailedNotice from './pdf-code-check-failed-notice'
|
|
|
|
|
+import PdfLogsPaneInfoNotice from './pdf-logs-pane-info-notice'
|
|
|
import { useCompileContext } from '../../../shared/context/compile-context'
|
|
import { useCompileContext } from '../../../shared/context/compile-context'
|
|
|
|
|
+import PdfLogEntry from './pdf-log-entry'
|
|
|
|
|
|
|
|
function PdfLogsViewer() {
|
|
function PdfLogsViewer() {
|
|
|
const {
|
|
const {
|
|
@@ -45,7 +45,7 @@ function PdfLogsViewer() {
|
|
|
{logEntries?.all && <PdfLogsEntries entries={logEntries.all} />}
|
|
{logEntries?.all && <PdfLogsEntries entries={logEntries.all} />}
|
|
|
|
|
|
|
|
{rawLog && (
|
|
{rawLog && (
|
|
|
- <PreviewLogsPaneEntry
|
|
|
|
|
|
|
+ <PdfLogEntry
|
|
|
headerTitle={t('raw_logs')}
|
|
headerTitle={t('raw_logs')}
|
|
|
rawContent={rawLog}
|
|
rawContent={rawLog}
|
|
|
entryAriaLabel={t('raw_logs_description')}
|
|
entryAriaLabel={t('raw_logs_description')}
|