From b0cbb7af39a287b5a0830d27be1cc64616d4a0de Mon Sep 17 00:00:00 2001 From: Philippe <83185129+phil3838@users.noreply.github.com> Date: Thu, 27 Mar 2025 14:55:27 -0400 Subject: [PATCH] remove unused index var --- client/src/components/GiftTemplate/GIFTTemplatePreview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/GiftTemplate/GIFTTemplatePreview.tsx b/client/src/components/GiftTemplate/GIFTTemplatePreview.tsx index d834343..6e223c6 100644 --- a/client/src/components/GiftTemplate/GIFTTemplatePreview.tsx +++ b/client/src/components/GiftTemplate/GIFTTemplatePreview.tsx @@ -21,7 +21,7 @@ const GIFTTemplatePreview: React.FC = ({ useEffect(() => { try { const previewItems: string[] = []; - questions.forEach((giftQuestion, index) => { + questions.forEach((giftQuestion) => { try { const question = parse(giftQuestion); const html = Template(question[0], {