diff --git a/services/web/frontend/js/features/preview/components/preview-logs-pane.js b/services/web/frontend/js/features/preview/components/preview-logs-pane.js
index d9f9c0d6b0..f7c504b8dd 100644
--- a/services/web/frontend/js/features/preview/components/preview-logs-pane.js
+++ b/services/web/frontend/js/features/preview/components/preview-logs-pane.js
@@ -182,7 +182,8 @@ function AutoCompileLintingErrorEntry() {
)
}
-function LogsPaneInfoNotice({ variantWithFirstErrorPopup }) {
+// exported to be used by pdf-viewer during React migration
+export function LogsPaneInfoNotice({ variantWithFirstErrorPopup }) {
const { t } = useTranslation()
const [dismissedInfoNotice, setDismissedInfoNotice] = usePersistedState(
`logs_pane.dismissed_info_notice`,