From 5951b464cfa937a083e32908c5f09ba627a51fb0 Mon Sep 17 00:00:00 2001 From: Bryan Frimin Date: Thu, 16 Oct 2025 12:58:11 +0200 Subject: [PATCH] Fix react-pdf race condition Signed-off-by: Bryan Frimin --- apps/console/src/components/documents/PDFPreview.tsx | 1 + pkg/server/api/console/v1/resolver.go | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/console/src/components/documents/PDFPreview.tsx b/apps/console/src/components/documents/PDFPreview.tsx index 8e378115c..07dc61999 100644 --- a/apps/console/src/components/documents/PDFPreview.tsx +++ b/apps/console/src/components/documents/PDFPreview.tsx @@ -110,6 +110,7 @@ export function PDFPreview({ src, name }: { src: string; name?: string }) { >