79259458

Date: 2024-12-06 21:47:40
Score: 2
Natty:
Report link

Got it.

React doesn't care about the value of un, only the states of certain variables. Fixed it by using useState().

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: shamwoah