From f4f287a3bbcda19f30f7d386d975aaaf20ad9232 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Sat, 9 Jul 2022 20:14:10 +0200 Subject: [PATCH] Fix report not working --- components/report-window/email-content.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/components/report-window/email-content.tsx b/components/report-window/email-content.tsx index da70ba2..5115c32 100644 --- a/components/report-window/email-content.tsx +++ b/components/report-window/email-content.tsx @@ -63,9 +63,10 @@ export default function EmailContent({ {mode === 'email' ? emailIntro(email_tone, _, visited_url) : reportIntro(visited_url)} - {problems.map((problem, index) => ( - - ))} + {problems.map((problem, index) => { + const Component = problem.getEmailContent.bind(problem); + return ; + })} {explainers.map((explainer) => explainer(answers.zaimek))}

Państwa rola jako współadministratora danych osobowych

{mode == 'email' ? (