From 2af6e0d42c961dc39a5bf3adb3c4333f3c71b820 Mon Sep 17 00:00:00 2001 From: Rio Knightley Date: Fri, 13 Oct 2023 12:05:23 +0100 Subject: [PATCH] Add handler to actions list --- .../lloydGeorgeRecordPage/LloydGeorgeRecordPage.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/src/pages/lloydGeorgeRecordPage/LloydGeorgeRecordPage.tsx b/app/src/pages/lloydGeorgeRecordPage/LloydGeorgeRecordPage.tsx index 4446bf4fe..9c09bad57 100644 --- a/app/src/pages/lloydGeorgeRecordPage/LloydGeorgeRecordPage.tsx +++ b/app/src/pages/lloydGeorgeRecordPage/LloydGeorgeRecordPage.tsx @@ -145,7 +145,15 @@ function LloydGeorgeRecordPage() {
    {actionLinks.map((link, i) => (
  1. - {link.label} + { + e.preventDefault(); + link.handler(); + }} + > + {link.label} +
  2. ))}