79639529

Date: 2025-05-26 20:24:06
Score: 0.5
Natty:
Report link

SOLVED: in my ReviewCard component, I was returning one of two pieces of JSX, the second one was a fragment with no key. adding the key removed the recurrent error.

      return (
        <>
          {word}
          {!isLastWord && ' '}
        </>
      );

to

return (
        <React.Fragment key={index}>
          {word}
          {!isLastWord && ' '}
        </React.Fragment>
      );
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Cjmaret