remove unused index var

This commit is contained in:
Philippe 2025-03-27 14:55:27 -04:00
parent 5cdf4abd92
commit b0cbb7af39

View file

@ -21,7 +21,7 @@ const GIFTTemplatePreview: React.FC<GIFTTemplatePreviewProps> = ({
useEffect(() => { useEffect(() => {
try { try {
const previewItems: string[] = []; const previewItems: string[] = [];
questions.forEach((giftQuestion, index) => { questions.forEach((giftQuestion) => {
try { try {
const question = parse(giftQuestion); const question = parse(giftQuestion);
const html = Template(question[0], { const html = Template(question[0], {