79575553

Date: 2025-04-15 15:45:06
Score: 1
Natty:
Report link

I got rid of the issue by assigning the index to another variable inside the local function function then using that local variable instead of the original index.

const i = index
setDisplayText((prevText) => prevText + text[i]);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Joseph