From 215087bb813f9119778cb0bfe51f101b91f48e92 Mon Sep 17 00:00:00 2001 From: ledouxm Date: Wed, 10 Jul 2024 09:49:34 +0200 Subject: [PATCH] fix: error in console --- packages/frontend/src/routes/pdf.$reportId.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frontend/src/routes/pdf.$reportId.tsx b/packages/frontend/src/routes/pdf.$reportId.tsx index 37573c2c..2d29fed1 100644 --- a/packages/frontend/src/routes/pdf.$reportId.tsx +++ b/packages/frontend/src/routes/pdf.$reportId.tsx @@ -248,6 +248,7 @@ const SendForm = ({ if (!form.getValues("recipients")) { form.setValue("recipients", recipents ?? ""); } + return null; }, });